File tree 2 files changed +33
-10
lines changed
2 files changed +33
-10
lines changed Original file line number Diff line number Diff line change
1
+ name : AICIrt release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*.*.*"
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+
15
+ permissions :
16
+ contents : write
17
+
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - run : rustup target add wasm32-wasi
21
+ - uses : Swatinem/rust-cache@v2
22
+ with :
23
+ cache-on-failure : true
24
+ - name : Release script
25
+ run : ./scripts/release.sh --xz
26
+ - name : Release
27
+ uses : softprops/action-gh-release@v1
28
+ if : startsWith(github.ref, 'refs/tags/')
29
+ with :
30
+ body_path : target/dist/README.md
31
+ files : |
32
+ target/dist/*.tar.gz
33
+ target/dist/*.tar.xz
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ name: AICIrt
3
3
on :
4
4
push :
5
5
branches : [ "main" ]
6
- tags :
7
- - " v*.*.*"
8
6
pull_request :
9
7
branches : [ "main" ]
10
8
47
45
with :
48
46
name : aicirt-xz
49
47
path : target/dist/*.tar.xz
50
- - name : Release
51
- uses : softprops/action-gh-release@v1
52
- if : startsWith(github.ref, 'refs/tags/')
53
- with :
54
- body_path : target/dist/README.md
55
- files : |
56
- target/dist/*.tar.gz
57
- target/dist/*.tar.xz
You can’t perform that action at this time.
0 commit comments