Add support for macOS platform in GitHub Actions workflow

This commit is contained in:
kwaroran
2024-04-30 13:32:22 +09:00
parent 56a6d57a60
commit 808112630d

View File

@@ -64,6 +64,8 @@ jobs:
files: |
src-tauri/target/x86_64-unknown-linux-gnu/release/**/*.deb
src-tauri/target/x86_64-unknown-linux-gnu/release/**/*.AppImage
- if: matrix.platform == 'macos-latest'
run: rustup target add x86_64-apple-darwin
- if: matrix.platform == 'macos-latest'
run: pnpm tauri build --target x86_64-apple-darwin
- if: matrix.platform == 'macos-latest'