Skip to content

Commit

Permalink
ci: Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Feb 16, 2024
1 parent b1ace9e commit 84e7f9d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release

on:
release:
types: [created]

env:
CARGO_TERM_COLOR: always

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2

- name: Cargo publish
run: cargo publish --token ${{ secrets.CARGO_API_KEY }}

0 comments on commit 84e7f9d

Please sign in to comment.