From 34c09dcfa79ef3fb40bdfbb702e6bdc5620d657b Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 6 Jan 2023 10:50:47 +0800 Subject: [PATCH] use teaxyz/setup for build in mac --- .github/workflows/main.yml | 6 ++++-- .github/workflows/release.yml | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7dbc942..8a4fe8e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45016a2..f87c32a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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