Skip to content

Commit

Permalink
Merge pull request #12 from rsteube/add-goreleaser
Browse files Browse the repository at this point in the history
added goreleaser
  • Loading branch information
rsteube authored Oct 23, 2022
2 parents ebdba4a + c67cd10 commit 791a1db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ jobs:

- name: Run tests
run: cargo test --verbose

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/v')
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish crate
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 791a1db

Please sign in to comment.