1- # This file was auto-generated by github-actions-workflow-generator 0.0.5 . Do not edit.
1+ # This file was auto-generated by github-actions-workflow-generator 0.0.6 . Do not edit.
22# To update it, modify .github/workflow-generator.yml as needed and re-run the generator.
33
44name : " Release Train – Build"
@@ -27,17 +27,22 @@ jobs:
2727 name : " Build Release"
2828 runs-on : " ubuntu22-2-8"
2929 steps :
30+ - name : " Prevent Re-runs"
31+ id : " prevent-re-runs"
32+ run : |-
33+ if [ "$GITHUB_RUN_ATTEMPT" -gt 1 ]; then
34+ echo "Re-runs are prohibited. Use the 'Release Train – Retry' workflow to retry build failures"
35+ exit 1
36+ fi
3037 - name : " Set up Java"
3138 id : " set-up-java"
32- uses : " actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 " # 5.4 .0
39+ uses : " actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 " # v5.6 .0
3340 with :
3441 distribution : " liberica"
3542 java-version : " 17"
3643 - name : " Check Out Code"
3744 id : " check-out-code"
38- uses : " actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # 7.0.0
39- with :
40- ref : " ${{ github.ref }}"
45+ uses : " actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # v7.0.0
4146 - name : " Build Release"
4247 id : " build-release"
4348 uses : " ./.github/actions/release-train-build"
@@ -50,21 +55,21 @@ jobs:
5055 RELEASE_TRAIN_MAVEN_REPOSITORY_USERNAME : " ${{ secrets.RELEASE_TRAIN_PARTICIPANT_MAVEN_REPOSITORY_USERNAME }}"
5156 - name : " Upload Deployment Repository"
5257 id : " upload-deployment-repository"
53- uses : " actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # 7 .0.1
58+ uses : " actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # v7 .0.1
5459 with :
5560 name : " deployment-repository"
5661 path : " deployment-repository/**"
5762 - name : " Upload Deployment Spec"
5863 id : " upload-deployment-spec"
59- uses : " actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # 7 .0.1
64+ uses : " actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # v7 .0.1
6065 with :
6166 archive : " false"
6267 if-no-files-found : " ignore"
6368 name : " deployment-spec"
6469 path : " .github/actions/release-train-build/deployment-spec.yml"
6570 - name : " Save Build System Caches"
6671 id : " save-build-system-caches"
67- uses : " actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9" # 6 .1.0
72+ uses : " actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9" # v6 .1.0
6873 with :
6974 key : " release-train-${{ inputs.callback-ref }}-${{ github.ref_name }}"
7075 path : " ~/.m2/repository"
0 commit comments