From 6737c0366ee29fd5714228a8f5d4e555177e0145 Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 8 Nov 2023 22:04:54 -0500 Subject: [PATCH] GHA: Correct file path --- .github/workflows/eclipse-ls-extensions-build.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/eclipse-ls-extensions-build.yml b/.github/workflows/eclipse-ls-extensions-build.yml index 107c980fd..5e6213dee 100644 --- a/.github/workflows/eclipse-ls-extensions-build.yml +++ b/.github/workflows/eclipse-ls-extensions-build.yml @@ -96,22 +96,12 @@ jobs: echo "AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY" >> $GITHUB_ENV echo "AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN" >> $GITHUB_ENV echo "AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION" >> $GITHUB_ENV - - name: Test Akamai Upload - env: - AWS_DEFAULT_REGION: us-east-1 - run: | - file="upload-test.txt" - echo 'Upload test file' > $file - cat $file - echo $AWS_SESSION_TOKEN - aws s3 mv ./$file s3://tools-spring-io/test-akamai/$file - aws s3 rm s3://tools-spring-io/test-akamai/$file - name: Upload P2 Repo to Akamai run: | dist_path=`cat ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/s3-p2-repo-dist-path.txt` echo "Dist path: ${dist_path}" aws s3 rm s3://tools-spring-io/${dist_path}/ --recursive --dryrun - aws s3 mv ./org.springframework.tooling.ls.integration.repository/target/repository/ s3://dist.springsource.com/${dist_path}/ --recursive --dryrun + aws s3 mv ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/repository/ s3://dist.springsource.com/${dist_path}/ --recursive --dryrun - name: Clear S3 Caches if: ${{ inputs.build_type != 'snapshot' }} env: