Skip to content

Commit

Permalink
Update build-artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasyzhjk authored May 28, 2024
1 parent 2968fe0 commit 89df8b2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,19 @@ jobs:
run: pnpm install --no-frozen-lockfile # Change this to npm, yarn or pnpm.

- name: build artifacts
if: matrix.platform != 'macos-latest'
working-directory: ./
run: |
pnpm run tauri build
- name: build artifacts (MacOS)
if: matrix.platform == 'macos-latest'
working-directory: ./
run: |
rustup target add aarch64-apple-darwin
rustup target add x86_64-apple-darwin
pnpm run tauri build --target universal-apple-darwin
- uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-20.04'
with:
Expand Down

0 comments on commit 89df8b2

Please sign in to comment.