Skip to content

Commit ae52558

Browse files
committed
[GHA] Roll back to AWS CLI 2.22 for win and osx distros
1 parent 0d8a273 commit ae52558

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/scripts/update-distro-download-page.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ do
2323
done
2424
echo '</ul>' >> $downloads_html
2525
cat ./$downloads_html
26-
aws s3 mv ./$downloads_html s3://${s3_bucket}/${build_type}/STS4/ --no-progress --checksum-algorithm CRC32
26+
aws s3 mv ./$downloads_html s3://${s3_bucket}/${build_type}/STS4/ --no-progress

.github/workflows/gh-hosted-eclipse-distro-build.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,12 @@ jobs:
154154
needs: [ eclipse-distro-build ]
155155
runs-on: ubuntu-latest
156156
steps:
157+
- name: Setup AWS CLI 2.22
158+
run: |
159+
curl -s "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.35.zip" -o "awscliv2.zip"
160+
unzip -q awscliv2.zip
161+
sudo ./aws/install --update
162+
aws --version
157163
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
158164
with:
159165
sparse-checkout: |
@@ -193,7 +199,7 @@ jobs:
193199
echo "Removing old win zip and self extracting jar files from S3..."
194200
aws s3 rm s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*"
195201
echo "Uploading new win zip and self extracting jar files to S3..."
196-
aws s3 mv . s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*" --no-progress --checksum-algorithm CRC32
202+
aws s3 mv . s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --exclude "*/*" --no-progress
197203
- name: Update Nightly Distro Downloads page
198204
if: ${{ inputs.build_type == 'snapshot' }}
199205
run: |
@@ -206,6 +212,12 @@ jobs:
206212
needs: [ eclipse-distro-build ]
207213
runs-on: macos-15
208214
steps:
215+
- name: Setup AWS CLI 2.22
216+
run: |
217+
curl -s "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.35.zip" -o "awscliv2.zip"
218+
unzip -q awscliv2.zip
219+
sudo ./aws/install --update
220+
aws --version
209221
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
210222
with:
211223
sparse-checkout: |
@@ -281,7 +293,7 @@ jobs:
281293
echo "Removing old dmg files from S3..."
282294
aws s3 rm s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*macosx*.dmg*" --exclude "*/*"
283295
echo "Uploading new dmg files to S3..."
284-
aws s3 mv . s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*macosx*.dmg*" --exclude "*/*" --no-progress --checksum-algorithm CRC32
296+
aws s3 mv . s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*macosx*.dmg*" --exclude "*/*" --no-progress
285297
- name: Update Nightly Distro Downloads page
286298
if: ${{ inputs.build_type == 'snapshot' && always() }}
287299
run: |

0 commit comments

Comments
 (0)