Skip to content

Commit 7aaecea

Browse files
committed
Update BitMono.CLI.yaml
1 parent 3940b98 commit 7aaecea

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/BitMono.CLI.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)