We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b8532b commit ffefaeeCopy full SHA for ffefaee
.github/workflows/rust.yml
@@ -4,22 +4,26 @@ on:
4
push:
5
branch:
6
- main
7
+ tags:
8
+ - "*.*.*"
9
10
jobs:
11
test:
12
runs-on: ubuntu-latest
13
steps:
- - uses: actions/checkout@v3
14
+ - uses: actions/checkout@v4
15
- name: test
16
run: cargo test
17
18
release:
19
20
- if: startsWith(github.ref, 'refs/tags/')
21
+ - name: checkout
22
+ uses: actions/checkout@v4
23
- name: build
24
run: cargo build --release
- - uses: softprops/action-gh-release@v1
25
+ - name: release
26
+ uses: softprops/action-gh-release@v2
27
+ if: startsWith(github.ref, 'refs/tags/')
28
with:
29
files: target/release/zr
0 commit comments