Skip to content

Commit

Permalink
Add x86_64-apple-darwin toolchain to release workflow (#527)
Browse files Browse the repository at this point in the history
### Description(変更内容)

macOS用のリリースが以下のように失敗するようになった。Rustの x86_64-apple-darwin
用ツールチェインを明示的に追加する。

```
Error failed to build x86_64-apple-darwin binary: Target x86_64-apple-darwin is not installed (installed targets: aarch64-apple-darwin). Please run `rustup target add x86_64-apple-darwin`.
Error: Command failed with exit code 1: tauri build --target universal-apple-darwin -- --profile release-lto
```
  • Loading branch information
ciscorn authored May 16, 2024
1 parent b56974c commit bed96f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-apple-darwin
targets: x86_64-apple-darwin,aarch64-apple-darwin

- name: Rust cache
uses: swatinem/rust-cache@v2
Expand Down

0 comments on commit bed96f2

Please sign in to comment.