File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 55name : Build on Release
66
77jobs :
8- build :
9- name : Mac ARM
8+ build_mac_arm :
9+ name : Build | Mac ARM
1010 runs-on : macos-latest
1111 steps :
1212 - run : rustup target add aarch64-apple-darwin
1818 with :
1919 command : build
2020 args : --release --target aarch64-apple-darwin
21+ - run : mv target/aarch64-apple-darwin/release/site-monitor target/aarch64-apple-darwin/release/aarch64-apple-darwin-site-monitor
2122 - uses : softprops/action-gh-release@v1
2223 if : startsWith(github.ref, 'refs/tags/')
2324 with :
24- files : target/aarch64-apple-darwin/release/site-monitor
25+ files : target/aarch64-apple-darwin/release/aarch64-apple-darwin-site-monitor
26+ build_mac_intel :
27+ name : Mac Intel
28+ runs-on : ubuntu-latest
29+ steps :
30+ - run : rustup target add x86_64-apple-darwin
31+ - uses : actions/checkout@v2
32+ - uses : actions-rs/toolchain@v1
33+ with :
34+ toolchain : stable
35+ target : x86_64-apple-darwin
36+ - uses : actions-rs/cargo@v1
37+ with :
38+ command : build
39+ args : --release --target x86_64-apple-darwin
40+ - run : mv target/x86_64-apple-darwin/release/site-monitor target/x86_64-apple-darwin/release/x86_64-apple-darwin-site-monitor
41+ - uses : softprops/action-gh-release@v1
42+ if : startsWith(github.ref, 'refs/tags/')
43+ with :
44+ files : target/x86_64-apple-darwin/release/x86_64-apple-darwin-site-monitor
You can’t perform that action at this time.
0 commit comments