Skip to content

Commit

Permalink
upload gui and cli on release
Browse files Browse the repository at this point in the history
  • Loading branch information
mastfissh committed Aug 6, 2020
1 parent 11709a7 commit 0dfaac6
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,28 @@ jobs:
- uses: Shopify/upload-to-release@master
if: matrix.os != 'windows-latest'
with:
name: ${{ matrix.os }}
name: ${{ matrix.os }}_gui
label: ${{ matrix.os }}
path: target/release/main
path: target/release/gui
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Shopify/upload-to-release@master
if: matrix.os != 'windows-latest'
with:
name: ${{ matrix.os }}_cli
label: ${{ matrix.os }}
path: target/release/cli
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Shopify/upload-to-release@master
if: matrix.os == 'windows-latest'
with:
name: ${{ matrix.os }}_cli.exe
label: ${{ matrix.os }}
path: target\release\cli.exe
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Shopify/upload-to-release@master
if: matrix.os == 'windows-latest'
with:
name: ${{ matrix.os }}.exe
name: ${{ matrix.os }}_gui.exe
label: ${{ matrix.os }}
path: target\release\main.exe
path: target\release\gui.exe
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0dfaac6

Please sign in to comment.