Skip to content

Commit

Permalink
Fix tag workflow for released binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgerace committed Oct 26, 2021
1 parent bb288cc commit dfb9b1f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
artifact_name: gfold
asset_name: gfold-linux-gnu-amd64
- os: windows-latest
artifact_name: gfold.exe
asset_name: gfold-windows-amd64.exe
- os: macos-latest
artifact_name: gfold
asset_name: gfold-darwin-amd64
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -49,6 +58,8 @@ jobs:
- uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}
prerelease: ${{ env.PRERELEASE }}
release_name: "gfold ${{ env.VERSION }}"
Expand Down

0 comments on commit dfb9b1f

Please sign in to comment.