Skip to content

Commit 4be7151

Browse files
committed
polish ci script
1 parent d326cdb commit 4be7151

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/build-tauri-linux.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,30 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v5
15-
- uses: actions/setup-node@v4
15+
- name: Setup node.js
16+
uses: actions/setup-node@v4
1617
with:
1718
node-version: latest
18-
- uses: actions-rs/toolchain@v1
19+
- name: Setup rust
20+
uses: actions-rs/toolchain@v1
1921
with:
2022
toolchain: stable
21-
- name: install dependencies
23+
- name: Install system dependencies
2224
run: |
2325
sudo apt-get update
2426
sudo apt-get install -y libwebkit2gtk-4.1-dev librsvg2-dev patchelf #libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev
25-
- run:
27+
- name: Install node.js dependencies
28+
run:
2629
npm install
27-
- run:
30+
- name: Copy dummy .env
31+
run:
2832
cp .env.dummy .env.local
29-
- run:
30-
npm exec tauri build
33+
- name: Build
34+
run:
35+
npm exec tauri build --verbose --ci --no-bundle
3136

32-
- uses: actions/upload-artifact@v4
37+
- name: Upload artifacts
38+
uses: actions/upload-artifact@v4
3339
with:
3440
name: artifacts
3541
path: "src-tauri/target/release/fairplay-app"

0 commit comments

Comments
 (0)