File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 66 version-suffix :
77 required : true
88 type : string
9+ archive-suffix :
10+ required : true
11+ type : string
912
1013jobs :
1114 build :
2023 DOTNET_CLI_TELEMETRY_OPTOUT : true
2124 restore_args : --runtime ${{ matrix.target-runtime }}
2225 build_args : --no-self-contained --configuration ${{ matrix.configuration }} --version-suffix '${{ inputs.version-suffix }}' --property:IncludeSourceRevisionInInformationalVersion=false
23- archive_name : Z64Utils-${{ matrix.target-runtime }}-${{ matrix.configuration }}-${{ github.sha }}
26+ archive_name : Z64Utils-${{ matrix.target-runtime }}-${{ matrix.configuration }}-${{ inputs.archive-suffix }}
2427 steps :
2528 - uses : actions/checkout@v4
2629 with :
Original file line number Diff line number Diff line change 99 uses : ./.github/workflows/build.yml
1010 with :
1111 version-suffix : ${{ github.sha }}
12+ archive-suffix : ${{ github.sha }}
Original file line number Diff line number Diff line change @@ -11,12 +11,14 @@ jobs:
1111 uses : ./.github/workflows/build.yml
1212 with :
1313 version-suffix : ${{ github.sha }}
14+ archive-suffix : ${{ github.sha }}
1415
1516 build-release :
1617 if : startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/tags/nightly'
1718 uses : ./.github/workflows/build.yml
1819 with :
1920 version-suffix : ' '
21+ archive-suffix : ${{ github.ref_name }}
2022
2123 nightly-release :
2224 if : github.ref == 'refs/heads/master'
Original file line number Diff line number Diff line change 1919 - name : Create release
2020 uses : softprops/action-gh-release@v2
2121 with :
22- tag_name : ${{ vars.GITHUB_REF_NAME }}
23- name : Z64Utils ${{ vars.GITHUB_REF_NAME }}
22+ tag_name : ${{ github.ref_name }}
23+ name : Z64Utils ${{ github.ref_name }}
2424 files : |
2525 ${{ steps.release_info.outputs.files }}
You can’t perform that action at this time.
0 commit comments