Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Abc Dr committed Aug 2, 2024
1 parent 3d6407f commit f2a9440
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,17 @@ jobs:
run: tar -czvf ./SPRView.Net-${{ matrix.os }}-${{ matrix.arch }}.tar.gz ./bin/Release/net8.0/publish/${{ matrix.os }}-${{ matrix.arch }}

- name: Create Release Unix
if: matrix.os != 'windows'
uses: ncipollo/release-action@v1
if: matrix.os != 'windows' && startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
artifacts: ./SPRView.Net-${{ matrix.os }}-${{ matrix.arch }}.tar.gz
name: SPRView.Net-${{ github.ref }}
files: |
./SPRView.Net-${{ matrix.os }}-${{ matrix.arch }}.tar.gz
- name: Create Release Win
if: matrix.os == 'windows'
uses: ncipollo/release-action@v1
if: matrix.os == 'windows' && startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
artifacts: SPRView.Net-${{ matrix.os }}-${{ matrix.arch }}.zip
name: SPRView.Net-${{ github.ref }}
files: |
SPRView.Net-${{ matrix.os }}-${{ matrix.arch }}.zip

0 comments on commit f2a9440

Please sign in to comment.