Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build.yml #26

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ jobs:
matrix:
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
args: '--target aarch64-apple-darwin --config ./tauri.conf.json --ci'
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
args: '--target x86_64-apple-darwin --config ./tauri.conf.json --ci'
- platform: 'ubuntu-22.04'
args: '--config ./tauri.conf.json --ci'
- platform: 'windows-latest'
args: '--config ./tauri.conf.json --ci'

runs-on: ${{ matrix.platform }}

Expand Down Expand Up @@ -55,7 +57,13 @@ jobs:
run: |
corepack enable
yarn install


- name: copy files before build
run: node ./scripts/preTauriBuild.js

- name: show
run: ls ./src-tauri

- uses: tauri-apps/tauri-action@v0
env:
PUBLISH_FOR_PULL_REQUEST: true
Expand Down
Loading