File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change
1
+ # .github/workflows/build.yml
2
+ name : Build
3
+
4
+ on :
5
+ push :
6
+ branches : [master]
7
+
8
+ jobs :
9
+ build :
10
+ name : Build
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@master
14
+ - name : Compile
15
+ id : compile
16
+ uses : rust-build/rust-build.action@v1.4.5
17
+ with :
18
+ RUSTTARGET : x86_64-unknown-linux-musl
19
+ UPLOAD_MODE : none
20
+ - name : Upload artifact
21
+ uses : actions/upload-artifact@v3
22
+ with :
23
+ name : Binary
24
+ path : |
25
+ ${{ steps.compile.outputs.BUILT_ARCHIVE }}
26
+ ${{ steps.compile.outputs.BUILT_CHECKSUM }}
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ name: Build and Release CLI
2
2
3
3
on :
4
4
push :
5
- tags :
6
- - ' v*' # 当推送带有 v* 前缀的 tag 时触发工作流
5
+ branches : [master]
7
6
8
7
jobs :
9
8
release :
You can’t perform that action at this time.
0 commit comments