[GHA] Try to fix the build
This commit is contained in:
2
.github/scripts/sign-exe.sh
vendored
2
.github/scripts/sign-exe.sh
vendored
@@ -7,7 +7,7 @@ timeout=$5
|
||||
|
||||
in_filename="$(basename -- $in_file)"
|
||||
echo "Copying ${in_file} to s3 s3://${AWS_S3_BUCKET}/exes-to-sign/${id}.exe for signing"
|
||||
aws s3 cp $in_file s3://$AWS_S3_BUCKET/exes-to-sign/$id.exe --no-progress
|
||||
aws s3 cp $in_file s3://$AWS_S3_BUCKET/exes-to-sign/$id.exe --no-progress --checksum-algorithm CRC32
|
||||
for (( i=wait_time; i<timeout; i+=wait_time )) ; {
|
||||
sleep $wait_time
|
||||
aws s3api head-object --bucket $CDN_BUCKET --key spring-tools/exes-signed/$id.exe >/dev/null 2>&1 || not_exist=true
|
||||
|
||||
@@ -281,7 +281,7 @@ jobs:
|
||||
echo "Removing old dmg files from S3..."
|
||||
aws s3 rm s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*macosx*.dmg*" --exclude "*/*"
|
||||
echo "Uploading new dmg files to S3..."
|
||||
aws s3 mv . s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*macosx*.dmg*" --exclude "*/*" --no-progress
|
||||
aws s3 mv . s3://$AWS_S3_BUCKET/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*macosx*.dmg*" --exclude "*/*" --no-progress --checksum-algorithm CRC32
|
||||
- name: Update Nightly Distro Downloads page
|
||||
if: ${{ inputs.build_type == 'snapshot' && always() }}
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user