@@ -153,45 +153,45 @@ jobs:
153153 p2_path : ${{ steps.s3-paths.outputs.p2_path }}
154154 version : ${{ steps.project-version.outputs.version }}
155155
156- sign-win-distros :
157- needs : [ eclipse-distro-build ]
158- runs-on : ubuntu-latest
159- steps :
160- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
161- with :
162- sparse-checkout : |
163- .github
164- - name : Download Win Zips from S3 for Signing
165- run : |
166- rm -f spring-tool-suite-4*win*.zip*
167- rm -f spring-tool-suite-4*win*.self-extracting.jar*
168- ls
169- aws s3 mv s3://$AWS_S3_BUCKET/sts4-distro-ci-temp/${{ needs.eclipse-distro-build.outputs.id }} . --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --exclude "*/*"
170- - name : Sign EXE within zip files
171- id : sign
172- run : |
173- files=`ls spring-tool-suite-4*win*.zip`
174- for file in $files
175- do
176- ${{ github.workspace }}/.github/scripts/sign-exe-in-zip-file.sh $file ${{ github.workspace }}/.github/scripts/sign-exe.sh ${{ github.workspace }}/.github/scripts/self-extracting-jar-creator.jar ${{ github.run_id }}
177- done
178- - name : Update Win zip/jar on S3
179- id : update-s3
180- run : |
181- dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }}
182- echo "Processing S3 update..."
183- ls spring-tool-suite-4*win*
184- echo "Removing old win zip and self extracting jar files from S3..."
185- 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 "*/*"
186- echo "Uploading new win zip and self extracting jar files to S3..."
187- 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
188- - name : Update Nightly Distro Downloads page
189- if : ${{ inputs.build_type == 'snapshot' }}
190- run : |
191- dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }}
192- eclipse_profile=${{ inputs.eclipse_profile }}
193- eclipse_version=${eclipse_profile:0:2}.${eclipse_profile:2}
194- ${{ github.workspace }}/.github/scripts/update-distro-download-page.sh $dist_path $eclipse_version ${{ inputs.build_type }} $AWS_S3_BUCKET $DOWNLOAD_URL_ROOT
156+ sign-win-distros :
157+ needs : [ eclipse-distro-build ]
158+ runs-on : ubuntu-latest
159+ steps :
160+ - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
161+ with :
162+ sparse-checkout : |
163+ .github
164+ - name : Download Win Zips from S3 for Signing
165+ run : |
166+ rm -f spring-tool-suite-4*win*.zip*
167+ rm -f spring-tool-suite-4*win*.self-extracting.jar*
168+ ls
169+ aws s3 mv s3://$AWS_S3_BUCKET/sts4-distro-ci-temp/${{ needs.eclipse-distro-build.outputs.id }} . --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --exclude "*/*"
170+ - name : Sign EXE within zip files
171+ id : sign
172+ run : |
173+ files=`ls spring-tool-suite-4*win*.zip`
174+ for file in $files
175+ do
176+ ${{ github.workspace }}/.github/scripts/sign-exe-in-zip-file.sh $file ${{ github.workspace }}/.github/scripts/sign-exe.sh ${{ github.workspace }}/.github/scripts/self-extracting-jar-creator.jar ${{ github.run_id }}
177+ done
178+ - name : Update Win zip/jar on S3
179+ id : update-s3
180+ run : |
181+ dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }}
182+ echo "Processing S3 update..."
183+ ls spring-tool-suite-4*win*
184+ echo "Removing old win zip and self extracting jar files from S3..."
185+ 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 "*/*"
186+ echo "Uploading new win zip and self extracting jar files to S3..."
187+ 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
188+ - name : Update Nightly Distro Downloads page
189+ if : ${{ inputs.build_type == 'snapshot' }}
190+ run : |
191+ dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }}
192+ eclipse_profile=${{ inputs.eclipse_profile }}
193+ eclipse_version=${eclipse_profile:0:2}.${eclipse_profile:2}
194+ ${{ github.workspace }}/.github/scripts/update-distro-download-page.sh $dist_path $eclipse_version ${{ inputs.build_type }} $AWS_S3_BUCKET $DOWNLOAD_URL_ROOT
195195
196196# sign-win-distros:
197197# needs: [ eclipse-distro-build ]
0 commit comments