Add support for macOS platform in GitHub Actions workflow
This commit is contained in:
2
.github/workflows/github-actions-builder.yml
vendored
2
.github/workflows/github-actions-builder.yml
vendored
@@ -64,6 +64,8 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
src-tauri/target/x86_64-unknown-linux-gnu/release/**/*.deb
|
src-tauri/target/x86_64-unknown-linux-gnu/release/**/*.deb
|
||||||
src-tauri/target/x86_64-unknown-linux-gnu/release/**/*.AppImage
|
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'
|
- if: matrix.platform == 'macos-latest'
|
||||||
run: pnpm tauri build --target x86_64-apple-darwin
|
run: pnpm tauri build --target x86_64-apple-darwin
|
||||||
- if: matrix.platform == 'macos-latest'
|
- if: matrix.platform == 'macos-latest'
|
||||||
|
|||||||
Reference in New Issue
Block a user