fx
Some checks failed
Build Tauri Linux ELF / build (push) Failing after 5m38s

This commit is contained in:
2025-08-26 18:18:42 +02:00
parent 1b4fd3783a
commit 179e6485ea

View File

@@ -1,4 +1,4 @@
name: Build Tauri App
name: Build Tauri Linux ELF
on:
push:
@@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
# 1. Checkout repo
# 1. Checkout repository
- name: Checkout repository
uses: actions/checkout@v3
# 2. Install Rust
# 2. Install Rust toolchain
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
@@ -22,7 +22,7 @@ jobs:
profile: minimal
override: true
# 3. Install Linux dependencies
# 3. Install Linux dependencies for Tauri
- name: Install Linux dependencies
run: |
sudo apt-get update
@@ -30,37 +30,24 @@ jobs:
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
libssl-dev \
libwebkit2gtk-4.1-dev \
webkit2gtk-4.1 \
build-essential \
curl \
pkg-config \
squashfs-tools \
patchelf
pkg-config
# 4. Build Tauri release bundle (AppImage/DEB/RPM)
# 4. Install Tauri CLI
- name: Install Tauri CLI
run: cargo install tauri-cli
# 6. Build Tauri release binary
- name: Build Tauri release
run: |
cd src-tauri
cargo tauri build --release
# 5. Upload AppImage as artifact
- name: Upload AppImage
# 7. Upload ELF binary as artifact
- name: Upload ELF binary
uses: actions/upload-artifact@v3
with:
name: bytechat-appimage
path: src-tauri/target/release/bundle/appimage/*.AppImage
# 6. Optionally upload DEB and RPM
- name: Upload DEB
uses: actions/upload-artifact@v3
with:
name: bytechat-deb
path: src-tauri/target/release/bundle/deb/*.deb
- name: Upload RPM
uses: actions/upload-artifact@v3
with:
name: bytechat-rpm
path: src-tauri/target/release/bundle/rpm/*.rpm
name: tauri-elf-binary
path: src-tauri/target/release/<your-binary-name>