Skip to content

Commit a90de2c

Browse files
committed
[GHA] wrap up
1 parent 3b5d081 commit a90de2c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/scripts/sign-exe.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ echo "Copying ${in_file} to s3 s3://${AWS_S3_BUCKET}/exes-to-sign/${id}.exe for
1010
aws s3 cp $in_file s3://$AWS_S3_BUCKET/exes-to-sign/$id.exe
1111
for (( i=wait_time; i<timeout; i+=wait_time )) ; {
1212
sleep $wait_time
13-
aws s3api head-object --bucket $CDN_BUCKET --key spring-tools/exes-signed/$id.exe || NOT_EXIST=true
14-
if [ $NOT_EXIST ]; then
13+
object_exists=$(aws s3api head-object --bucket $CDN_BUCKET --key spring-tools/exes-signed/$id.exe || true)
14+
if [ -z "$object_exists" ]; then
1515
echo "Waited ${i} seconds but ${in_filename} hasn't been signed yet..."
1616
else
1717
echo "Successfully signed file ${in_filename}"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ jobs:
147147
- name: Upload Win Zip to S3 for Signing via JFrog
148148
run: |
149149
aws s3 rm s3://$AWS_S3_BUCKET/sts4-distro-win-sign/${{ inputs.eclipse_profile }} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip" --exclude "*/*"
150-
aws s3 cp ${{ github.workspace }}/eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target/products s3://$AWS_S3_BUCKET/sts4-distro-win-sign/${{ inputs.eclipse_profile }} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip" --exclude "*/*" --no-progress
151150
outputs:
152151
id: ${{ inputs.eclipse_profile }}-${{ inputs.build_type }}-${{ github.run_id }}
153152
dist_path: ${{ steps.s3-paths.outputs.dist_path }}

0 commit comments

Comments
 (0)