Skip to content

Commit 972fa4b

Browse files
author
Anaïs Saraiva
committed
Update build.yml
1 parent a394b9e commit 972fa4b

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
include:
16-
- platform: 'macos-latest' # for Arm based macs (M1 and above).
17-
args: '--target aarch64-apple-darwin'
18-
- platform: 'macos-latest' # for Intel based macs.
19-
args: '--target x86_64-apple-darwin'
2016
- platform: 'ubuntu-22.04'
2117
args: ''
2218
- platform: 'windows-latest'
@@ -38,18 +34,21 @@ jobs:
3834
node-version: lts/*
3935
cache: 'npm'
4036

37+
- name: setup bun
38+
uses: oven-sh/setup-bun@v2
39+
with:
40+
bun-version: latest
41+
4142
- name: install Rust stable
4243
uses: dtolnay/rust-toolchain@stable
43-
with:
44-
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
4544

4645
- name: Rust cache
4746
uses: swatinem/rust-cache@v2
4847
with:
4948
workspaces: './src-tauri -> target'
5049

5150
- name: install frontend dependencies
52-
run: npm install
51+
run: bun install
5352

5453
- name: install Tauri CLI (Rust version)
5554
run: cargo install tauri-cli --locked
@@ -67,7 +66,5 @@ jobs:
6766
src-tauri/target/release/bundle/deb/*.deb
6867
src-tauri/target/release/bundle/appimage/*.AppImage
6968
src-tauri/target/release/bundle/msi/*.msi
70-
src-tauri/target/release/bundle/dmg/*.dmg
71-
src-tauri/target/release/bundle/macos/*.app
7269
env:
7370
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)