Skip to content

Commit

Permalink
fix: publish binaries on release (#905)
Browse files Browse the repository at this point in the history
Fixes #894
  • Loading branch information
obmarg authored Apr 9, 2024
1 parent 5aeaaf5 commit 11e729d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish-binaries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Upload release binaries

on:
release:
types: [published]

jobs:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
upload-artifacts:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: cynic
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 11e729d

Please sign in to comment.