1 parent cbf26b7 commit d0b8be6Copy full SHA for d0b8be6
1 file changed
.github/workflows/publish.yml
@@ -3,25 +3,23 @@ name: Publish to crates.io
3
on:
4
push:
5
tags:
6
- - 'v*.*.*'
+ - "v*.*.*"
7
8
env:
9
CARGO_TERM_COLOR: always
10
11
jobs:
12
publish:
13
-
14
runs-on: ubuntu-latest
15
16
steps:
17
- name: Checkout code
18
uses: actions/checkout@v4
19
+
20
- name: Set up Rust
21
uses: dtolnay/rust-toolchain@stable
22
with:
23
toolchain: stable
24
- override: true
25
26
- name: Cache Cargo registry
27
uses: actions/cache@v4
@@ -41,7 +39,7 @@ jobs:
41
39
42
40
- name: Build the project
43
run: cargo build --release
44
45
- name: Publish to crates.io
46
47
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
0 commit comments