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 5
5
name : Build on Release
6
6
7
7
jobs :
8
- build :
9
- name : Mac ARM
8
+ build_mac_arm :
9
+ name : Build | Mac ARM
10
10
runs-on : macos-latest
11
11
steps :
12
12
- run : rustup target add aarch64-apple-darwin
18
18
with :
19
19
command : build
20
20
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
21
22
- uses : softprops/action-gh-release@v1
22
23
if : startsWith(github.ref, 'refs/tags/')
23
24
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