File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- on : [release]
1+ on :
2+ release :
3+ types : [published]
24
35name : Build on Release
46
57jobs :
6- mac_arm :
8+ build :
79 name : Mac ARM
8- runs-on : ubuntu -latest
10+ runs-on : macos -latest
911 steps :
12+ - run : rustup target add aarch64-apple-darwin
1013 - uses : actions/checkout@v2
1114 - uses : actions-rs/toolchain@v1
1215 with :
1316 toolchain : stable
14- target : aarch64-apple-darwin
15- override : true
1617 - uses : actions-rs/cargo@v1
1718 with :
18- use-cross : true
1919 command : build
20- args : --target aarch64-apple-darwin
21- mac_intel :
22- name : Mac Intel
23- runs-on : ubuntu-latest
24- steps :
25- - uses : actions/checkout@v2
26- - uses : actions-rs/toolchain@v1
20+ args : --release --target aarch64-apple-darwin
21+ - uses : softprops/action-gh-release@v1
22+ if : startsWith(github.ref, 'refs/tags/')
2723 with :
28- toolchain : stable
29- target : x86_64-apple-darwin
30- override : true
31- - uses : actions-rs/cargo@v1
32- with :
33- use-cross : true
34- command : build
35- args : --target x86_64-apple-darwin
24+ files : target/aarch64-apple-darwin
You can’t perform that action at this time.
0 commit comments