From 1c5f41f6d8b02cfdcf9ab2bda969c0c10eb4e333 Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 6 Nov 2024 21:20:27 -0500 Subject: [PATCH] [GHA] yaml syntax error --- .../gh-hosted-eclipse-distro-build.yml | 78 +++++++++---------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index 4681d7cb3..a55a088c1 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -153,45 +153,45 @@ jobs: p2_path: ${{ steps.s3-paths.outputs.p2_path }} version: ${{ steps.project-version.outputs.version }} - sign-win-distros: - needs: [ eclipse-distro-build ] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - with: - sparse-checkout: | - .github - - name: Download Win Zips from S3 for Signing - run: | - rm -f spring-tool-suite-4*win*.zip* - rm -f spring-tool-suite-4*win*.self-extracting.jar* - ls - 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 "*/*" - - name: Sign EXE within zip files - id: sign - run: | - files=`ls spring-tool-suite-4*win*.zip` - for file in $files - do - ${{ 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 }} - done - - name: Update Win zip/jar on S3 - id: update-s3 - run: | - dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }} - echo "Processing S3 update..." - ls spring-tool-suite-4*win* - echo "Removing old win zip and self extracting jar files from S3..." - 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 "*/*" - echo "Uploading new win zip and self extracting jar files to S3..." - 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 - - name: Update Nightly Distro Downloads page - if: ${{ inputs.build_type == 'snapshot' }} - run: | - dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }} - eclipse_profile=${{ inputs.eclipse_profile }} - eclipse_version=${eclipse_profile:0:2}.${eclipse_profile:2} - ${{ github.workspace }}/.github/scripts/update-distro-download-page.sh $dist_path $eclipse_version ${{ inputs.build_type }} $AWS_S3_BUCKET $DOWNLOAD_URL_ROOT + sign-win-distros: + needs: [ eclipse-distro-build ] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + with: + sparse-checkout: | + .github + - name: Download Win Zips from S3 for Signing + run: | + rm -f spring-tool-suite-4*win*.zip* + rm -f spring-tool-suite-4*win*.self-extracting.jar* + ls + 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 "*/*" + - name: Sign EXE within zip files + id: sign + run: | + files=`ls spring-tool-suite-4*win*.zip` + for file in $files + do + ${{ 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 }} + done + - name: Update Win zip/jar on S3 + id: update-s3 + run: | + dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }} + echo "Processing S3 update..." + ls spring-tool-suite-4*win* + echo "Removing old win zip and self extracting jar files from S3..." + 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 "*/*" + echo "Uploading new win zip and self extracting jar files to S3..." + 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 + - name: Update Nightly Distro Downloads page + if: ${{ inputs.build_type == 'snapshot' }} + run: | + dist_path=${{ needs.eclipse-distro-build.outputs.dist_path }} + eclipse_profile=${{ inputs.eclipse_profile }} + eclipse_version=${eclipse_profile:0:2}.${eclipse_profile:2} + ${{ github.workspace }}/.github/scripts/update-distro-download-page.sh $dist_path $eclipse_version ${{ inputs.build_type }} $AWS_S3_BUCKET $DOWNLOAD_URL_ROOT # sign-win-distros: # needs: [ eclipse-distro-build ]