From 836da4548e6379aa3ee0a6bfe75a94d8aa8488aa Mon Sep 17 00:00:00 2001 From: aboyko Date: Mon, 10 Feb 2025 22:12:23 -0500 Subject: [PATCH] [GHA] Switch back to AWS CLI 2.22 to avoid aws-chunked encoding --- .github/workflows/eclipse-ls-extensions-build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/eclipse-ls-extensions-build.yml b/.github/workflows/eclipse-ls-extensions-build.yml index 3a656a03e..3684dacd9 100644 --- a/.github/workflows/eclipse-ls-extensions-build.yml +++ b/.github/workflows/eclipse-ls-extensions-build.yml @@ -40,6 +40,12 @@ jobs: outputs: invalid_urls: ${{ steps.compute-invalid-urls.outputs.invalid_urls }} steps: + - name: Setup AWS CLI 2.22 + run: | + curl -s "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.35.zip" -o "awscliv2.zip" + unzip -q awscliv2.zip + sudo ./aws/install --update + aws --version - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 with: sparse-checkout: | @@ -88,7 +94,7 @@ jobs: echo "p2_path=$p2_path" >> $GITHUB_OUTPUT echo "P2 path: ${p2_path}" aws s3 rm s3://$AWS_S3_BUCKET/${p2_path}/ --recursive - aws s3 cp ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/repository/ s3://$AWS_S3_BUCKET/${p2_path}/ --recursive --no-progress --checksum-algorithm CRC32 --content-encoding gzip + aws s3 cp ${{ github.workspace }}/eclipse-language-servers/org.springframework.tooling.ls.integration.repository/target/repository/ s3://$AWS_S3_BUCKET/${p2_path}/ --recursive --no-progress - name: Compute invalid URLs if: ${{ inputs.build_type != 'snapshot' }} id: compute-invalid-urls