Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Commit 04418f0

Browse files
committed
Modified release.yml to fix issues during build workflow
1 parent 4396664 commit 04418f0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish
1+
name: "publish"
22

33
on:
44
workflow_dispatch:
@@ -14,9 +14,9 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
include:
17-
- platform: "macos-latest"
17+
- platform: "macos-latest" # for Arm based macs (M1 and above).
1818
args: "--target aarch64-apple-darwin"
19-
- platform: "macos-latest"
19+
- platform: "macos-latest" # for Intel based macs.
2020
args: "--target x86_64-apple-darwin"
2121
- platform: "ubuntu-22.04"
2222
args: ""
@@ -31,19 +31,24 @@ jobs:
3131
if: matrix.platform == 'ubuntu-22.04'
3232
run: |
3333
sudo apt-get update
34-
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
34+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
3535
3636
- name: setup node
3737
uses: actions/setup-node@v4
3838
with:
3939
node-version: lts/*
40+
cache: "npm"
4041

4142
- name: install Rust stable
4243
uses: dtolnay/rust-toolchain@stable
4344
with:
44-
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
4545
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
4646

47+
- name: Rust cache
48+
uses: swatinem/rust-cache@v2
49+
with:
50+
workspaces: "./src-tauri -> target"
51+
4752
- name: install frontend dependencies
4853
run: npm install
4954

0 commit comments

Comments
 (0)