Skip to content

Commit

Permalink
Add arm macos installation in bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
girogio committed Feb 14, 2024
1 parent 6e1ef3a commit 0629e9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable

- if: matrix.platform == 'macos'
name: Install arm target
run: rustup target add aarch64-apple-darwin

- name: Rust cache
uses: swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -56,6 +60,7 @@ jobs:
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
with:
args: ${{ matrix.platform == 'macos-latest' && ' --target universal-apple-darwin' || '' }}
projectPath: backend
distPath: frontend/dist
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
Expand Down

0 comments on commit 0629e9b

Please sign in to comment.