We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaace38 commit 74d8ca5Copy full SHA for 74d8ca5
.github/workflows/publish.yaml
@@ -3,13 +3,17 @@ name: Publish Crate
3
on:
4
push:
5
tags:
6
- - "v*.*.*" # only run when you push a version tag like v0.3.0
+ - "v*.*.*" # triggers only 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: Build and test
15
+ run: |
16
+ cargo build --verbose
17
+ cargo test --verbose
18
- name: Publish to crates.io
19
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
0 commit comments