Skip to content

Commit aaace38

Browse files
committed
created publish.yaml
1 parent 5f97746 commit aaace38

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Publish Crate
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*" # only run when you push a version tag like v0.3.0
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: dtolnay/rust-toolchain@stable
14+
- name: Publish to crates.io
15+
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)