[chore] fix mac aarch64
This commit is contained in:
8
.github/workflows/github-actions-builder.yml
vendored
8
.github/workflows/github-actions-builder.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [ubuntu-latest,macos-latest,windows-latest]
|
platform: [ubuntu-latest,macos-latest]
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
@@ -53,6 +53,8 @@ jobs:
|
|||||||
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'
|
- 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'
|
||||||
|
run: rustup target add aarch64-apple-darwin
|
||||||
- if: matrix.platform == 'macos-latest'
|
- if: matrix.platform == 'macos-latest'
|
||||||
run: pnpm tauri build --target aarch64-apple-darwin
|
run: pnpm tauri build --target aarch64-apple-darwin
|
||||||
- if: matrix.platform == 'macos-latest'
|
- if: matrix.platform == 'macos-latest'
|
||||||
@@ -64,8 +66,8 @@ jobs:
|
|||||||
name: "${{fromJson(env.VERSION_JSON).version}}"
|
name: "${{fromJson(env.VERSION_JSON).version}}"
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
files: |
|
files: |
|
||||||
src-tauri/target/x86_64-apple-darwin/release/bundle/macos/*.app
|
src-tauri/target/*/release/bundle/macos/*.app
|
||||||
src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/*.dmg
|
src-tauri/target/*/release/bundle/dmg/*.dmg
|
||||||
- if: matrix.platform == 'windows-latest'
|
- if: matrix.platform == 'windows-latest'
|
||||||
run: pnpm tauri build
|
run: pnpm tauri build
|
||||||
- if: matrix.platform == 'windows-latest'
|
- if: matrix.platform == 'windows-latest'
|
||||||
|
|||||||
Reference in New Issue
Block a user