File tree 1 file changed +51
-0
lines changed
1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Create GitHub release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*.*.*"
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ create-release :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v4
17
+ - name : Release
18
+ uses : softprops/action-gh-release@v1
19
+
20
+ upload-assets :
21
+ needs : create-release
22
+
23
+ strategy :
24
+ matrix :
25
+ include :
26
+ - os : ubuntu-latest
27
+ target : x86_64-unknown-linux-gnu
28
+ - os : ubuntu-latest
29
+ target : x86_64-unknown-linux-musl
30
+ - os : ubuntu-latest
31
+ target : aarch64-unknown-linux-gnu
32
+ - os : ubuntu-latest
33
+ target : aarch64-unknown-linux-musl
34
+ - os : macos-latest
35
+ target : x86_64-apple-darwin
36
+ - os : macos-latest
37
+ target : aarch64-apple-darwin
38
+ - os : windows-latest
39
+ target : x86_64-pc-windows-msvc
40
+
41
+ runs-on : ${{ matrix.os }}
42
+
43
+ steps :
44
+ - uses : actions/checkout@v4
45
+ - uses : taiki-e/upload-rust-binary-action@v1
46
+ with :
47
+ bin : shellharden
48
+ target : ${{ matrix.target }}
49
+ archive : shellharden-$target
50
+ checksum : sha512
51
+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments