Skip to content

Commit

Permalink
added workflow for publishing crate
Browse files Browse the repository at this point in the history
  • Loading branch information
yasamoka committed Mar 24, 2024
1 parent 7f9417e commit 0eb931d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish-crate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish Crate
on:
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Publish crate
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo publish --all-features

0 comments on commit 0eb931d

Please sign in to comment.