Skip to content

Commit df7f18b

Browse files
committed
Add crates.io publish workflow triggered on version tags
1 parent 7392176 commit df7f18b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/rust-publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish to crates.io
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
11+
jobs:
12+
call-publish:
13+
uses: qntx/workflows/.github/workflows/rust-publish.yml@main
14+
with:
15+
package: gors
16+
secrets:
17+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)