Skip to content

Commit ae610fb

Browse files
committed
fix action
1 parent f8b9044 commit ae610fb

File tree

2 files changed

+50
-44
lines changed

2 files changed

+50
-44
lines changed

.github/workflow/build-linux/action.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/linux-build.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Build Tauri AppImage
2+
description: Build Tauri v2 application as Linux AppImage
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
cache: "yarn"
21+
22+
- name: Install Rust
23+
uses: dtolnay/rust-toolchain@stable
24+
25+
- name: Install system dependencies
26+
shell: bash
27+
run: |
28+
sudo apt update
29+
sudo apt install -y \
30+
libwebkit2gtk-4.0-dev \
31+
libssl-dev \
32+
libgtk-3-dev \
33+
squashfs-tools \
34+
fuse2 \
35+
python3-pip
36+
pip install appimage-builder
37+
38+
- name: Install JS deps
39+
shell: bash
40+
run: yarn install --frozen-lockfile
41+
42+
- name: Build AppImage
43+
shell: bash
44+
run: yarn tauri build
45+
46+
- name: Upload AppImage artifact
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: tauri-appimage
50+
path: src-tauri/target/release/bundle/appimage/*.AppImage

0 commit comments

Comments
 (0)