Skip to content

Commit 1a6d65d

Browse files
authored
Merge pull request #5 from ulises-codes/fix/debug-release-workflow
fix: try some new things
2 parents b1b17be + 36c7964 commit 1a6d65d

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
on:
2-
- release
2+
release:
3+
types: [published]
34

45
name: Build on Release
56

@@ -8,27 +9,25 @@ jobs:
89
name: Mac ARM
910
runs-on: ubuntu-latest
1011
steps:
12+
- run: rustup target add aarch64-apple-darwin
1113
- uses: actions/checkout@v2
1214
- uses: actions-rs/toolchain@v1
1315
with:
1416
toolchain: stable
15-
target: aarch64-apple-darwin
16-
override: true
1717
- uses: actions-rs/cargo@v1
1818
with:
1919
command: build
20-
args: --target aarch64-apple-darwin
20+
args: --release --target aarch64-apple-darwin
2121
mac_intel:
2222
name: Mac Intel
2323
runs-on: ubuntu-latest
2424
steps:
25+
- run: rustup target add x86_64-apple-darwin
2526
- uses: actions/checkout@v2
2627
- uses: actions-rs/toolchain@v1
2728
with:
2829
toolchain: stable
29-
target: x86_64-apple-darwin
30-
override: true
3130
- uses: actions-rs/cargo@v1
3231
with:
3332
command: build
34-
args: --target x86_64-apple-darwin
33+
args: --release --target x86_64-apple-darwin

0 commit comments

Comments
 (0)