From cea9d77393b5d02b240f83fa6731702c563385cf Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 8 Nov 2023 23:05:21 -0500 Subject: [PATCH] GHA: Upload P2 to Akamai and legacy S3 (no dryrun) --- .github/workflows/eclipse-ls-extensions-build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/eclipse-ls-extensions-build.yml b/.github/workflows/eclipse-ls-extensions-build.yml index 4f9f67489..004f88adb 100644 --- a/.github/workflows/eclipse-ls-extensions-build.yml +++ b/.github/workflows/eclipse-ls-extensions-build.yml @@ -100,14 +100,14 @@ jobs: 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 cp ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/repository/ s3://tools-spring-io/${dist_path}/ --recursive --dryrun + aws s3 rm s3://tools-spring-io/${dist_path}/ --recursive + aws s3 cp ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/repository/ s3://tools-spring-io/${dist_path}/ --recursive - name: Upload P2 Repo to legacy S3 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://dist.springsource.com/${dist_path}/ --recursive --dryrun - aws s3 cp ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/repository/ s3://dist.springsource.com/${dist_path}/ --recursive --dryrun + aws s3 rm s3://dist.springsource.com/${dist_path}/ --recursive + aws s3 cp ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/repository/ s3://dist.springsource.com/${dist_path}/ --recursive - name: Clear S3 Caches if: ${{ inputs.build_type != 'snapshot' }} env: