File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,22 +49,22 @@ jobs:
4949 run : sudo apt-get install zip
5050
5151 - name : Zip artifacts
52- run : " cd ./src/BitMono.CLI/bin/Release/${{ matrix.target-framework }}/${{ matrix.runtime }} && zip -qq -r ./BitMono-v${{ github.ref_name }}-CLI-${{ matrix.target-framework }}-${{ matrix.runtime }}.zip *"
52+ run : " cd ./src/BitMono.CLI/bin/Release/${{ matrix.target-framework }}/${{ matrix.runtime }} && zip -qq -r ./BitMono-v${{ steps.project-build.outputs.version }}-CLI-${{ matrix.target-framework }}-${{ matrix.runtime }}.zip *"
5353
5454 - name : Upload build
5555 uses : actions/upload-artifact@v3 # Do not use v4 as it is not working properly, see: https://github.com/actions/upload-artifact/issues/478
5656 with :
57- name : BitMono-v${{ github.ref_name }}-CLI-${{ matrix.target-framework }}-${{ matrix.runtime }}
58- path : " ./src/BitMono.CLI/bin/Release/${{ matrix.target-framework }}/${{ matrix.runtime }}/BitMono-v${{ github.ref_name }}-CLI-${{ matrix.target-framework }}-${{ matrix.runtime }}.zip"
57+ name : BitMono-v${{ steps.project-build.outputs.version }}-CLI-${{ matrix.target-framework }}-${{ matrix.runtime }}
58+ path : " ./src/BitMono.CLI/bin/Release/${{ matrix.target-framework }}/${{ matrix.runtime }}/BitMono-v${{ steps.project-build.outputs.version }}-CLI-${{ matrix.target-framework }}-${{ matrix.runtime }}.zip"
5959 if-no-files-found : error
6060
6161 - name : Create Release
6262 if : github.event_name == 'create' && github.event.ref_type == 'tag'
6363 uses : ncipollo/release-action@v1.14.0
6464 with :
65- name : BitMono Release v${{ github.ref_name }}
66- tag : v${{ github.ref_name }}
67- artifacts : " ./src/BitMono.CLI/bin/Release/${{ matrix.target-framework }}/${{ matrix.runtime }}/BitMono-v${{ github.ref_name }}-CLI-${{ matrix.target-framework }}-${{ matrix.runtime }}.zip"
65+ name : BitMono Release v${{ steps.project-build.outputs.version }}
66+ tag : v${{ steps.project-build.outputs.version }}
67+ artifacts : " ./src/BitMono.CLI/bin/Release/${{ matrix.target-framework }}/${{ matrix.runtime }}/BitMono-v${{ steps.project-build.outputs.version }}-CLI-${{ matrix.target-framework }}-${{ matrix.runtime }}.zip"
6868 token : ${{ secrets.PAT }}
6969 prerelease : ${{ steps.project-build.outputs.is_prerelease }}
7070 allowUpdates : true
You can’t perform that action at this time.
0 commit comments