Skip to content

Commit

Permalink
chore: tauri-apps/tauri-action@v0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglun committed Oct 30, 2023
1 parent 54190fb commit 399e84a
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,20 @@ jobs:

- name: Install app dependencies and build web
run: pnpm install
- name: Build the app for Apple silicon
uses: tauri-apps/tauri-action@dev
if: matrix.platform == 'macos-latest'
env:
GITHUB_TOKEN: ${{ secrets.LETTURA_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD : ${{ secrets.TAURI_KEY_PASSWORD }}
with:
releaseId: ${{ needs.create-release.outputs.release_id }}
args: '-t aarch64-apple-darwin'

# - name: Build the app for Apple silicon
# uses: tauri-apps/tauri-action@dev
# if: matrix.platform == 'macos-latest'
# env:
# GITHUB_TOKEN: ${{ secrets.LETTURA_TOKEN }}
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD : ${{ secrets.TAURI_KEY_PASSWORD }}
# with:
# releaseId: ${{ needs.create-release.outputs.release_id }}
# args: '--target aarch64-apple-darwin'

- name: Build the app
uses: tauri-apps/tauri-action@dev
uses: tauri-apps/tauri-action@v0.4
env:
GITHUB_TOKEN: ${{ secrets.LETTURA_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
Expand Down

0 comments on commit 399e84a

Please sign in to comment.