Fix Node arch

This commit is contained in:
Gregory Schier
2024-07-19 16:08:37 -07:00
parent 70c63fc63c
commit e8410f70a1
3 changed files with 8 additions and 2 deletions

View File

@@ -18,12 +18,16 @@ jobs:
include:
- platform: 'macos-latest' # for Arm-based macs (M1 and above).
args: '--target aarch64-apple-darwin'
node_arch: 'x64'
- platform: 'macos-latest' # for Intel-based macs.
args: '--target x86_64-apple-darwin'
node_arch: 'arm64'
- platform: 'ubuntu-22.04' # for Tauri v1, you could replace this with ubuntu-20.04.
args: ''
node_arch: 'x64'
- platform: 'windows-latest'
args: ''
node_arch: 'x64'
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout yaakapp/app
@@ -95,6 +99,7 @@ jobs:
- uses: tauri-apps/tauri-action@v0
env:
NODE_ARCH: ${{ matrix.node_arch }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}