use teaxyz/setup for build in mac

This commit is contained in:
neil 2023-01-06 10:50:47 +08:00
parent 06143a963e
commit 34c09dcfa7
2 changed files with 7 additions and 3 deletions

View file

@ -62,7 +62,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: test build tauri for MacOS
- name: build tauri for MacOS
uses: teaxyz/setup@v0
if: startsWith(matrix.platform.name, 'darwin')
# FROM: https://tauri.app/v1/guides/distribution/sign-macos
env:
@ -75,7 +76,8 @@ jobs:
# this only helps in notarization
# APPLE_ID: ${{ secrets.APPLE_ID }}
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
run: pnpm build:gui
with:
target: build
- name: build tauri for Linux
# uses: teaxyz/setup@v0

View file

@ -22,6 +22,7 @@ jobs:
- uses: actions/checkout@v3
- name: build tauri for MacOS
uses: teaxyz/setup@v0
if: startsWith(matrix.platform.name, 'darwin')
# FROM: https://tauri.app/v1/guides/distribution/sign-macos
env:
@ -34,7 +35,8 @@ jobs:
# this only helps in notarization
# APPLE_ID: ${{ secrets.APPLE_ID }}
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
run: pnpm build:gui
with:
target: build
- name: build tauri for Linux
# uses: teaxyz/setup@v0