@@ -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