Skip to content

Commit

Permalink
Merge pull request #140 from utam0k/gh-release
Browse files Browse the repository at this point in the history
Add the release workflow.
  • Loading branch information
utam0k authored Jul 20, 2023
2 parents 22cb02c + db433ea commit 88d6d93
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
push:
tags: ["v[0-9]+.[0-9]+.[0-9]+*"]

jobs:
publish:
name: Publish Packages
runs-on: ubuntu-latest
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Setup Cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Publish
run: cargo publish --no-verify

0 comments on commit 88d6d93

Please sign in to comment.