Skip to content

Commit ffefaee

Browse files
author
Jonathan Dahan
committed
release: update github action dependencies
1 parent 7b8532b commit ffefaee

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/rust.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,26 @@ on:
44
push:
55
branch:
66
- main
7+
tags:
8+
- "*.*.*"
79

810
jobs:
911
test:
1012
runs-on: ubuntu-latest
1113
steps:
12-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1315
- name: test
1416
run: cargo test
1517

1618
release:
1719
runs-on: ubuntu-latest
1820
steps:
19-
- uses: actions/checkout@v3
20-
if: startsWith(github.ref, 'refs/tags/')
21+
- name: checkout
22+
uses: actions/checkout@v4
2123
- name: build
2224
run: cargo build --release
23-
- uses: softprops/action-gh-release@v1
25+
- name: release
26+
uses: softprops/action-gh-release@v2
27+
if: startsWith(github.ref, 'refs/tags/')
2428
with:
2529
files: target/release/zr

0 commit comments

Comments
 (0)