Files
Owlerlay/.github/workflows/release.yml
s0wlz (Matthias Puchstein) a97181a1c2 ci: add GitHub and Gitea Actions release workflows
Builds Linux (.deb, .AppImage, .rpm) and Windows (.exe, .msi) bundles
on tag push (v*). Gitea workflow uses self-hosted runner labels
(linux / windows); GitHub workflow uses hosted ubuntu-22.04 / windows-latest.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 17:24:41 +01:00

62 lines
1.3 KiB
YAML

name: Release
on:
push:
tags: ['v*']
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Install Linux system dependencies
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev \
libappindicator3-dev \
librsvg2-dev \
patchelf
- name: Install JS dependencies
run: pnpm install
- name: Build
uses: tauri-apps/tauri-action@v0
with:
args: --target ${{ matrix.target }}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: owlerlay-${{ matrix.os }}
path: |
src-tauri/target/${{ matrix.target }}/release/bundle/
if-no-files-found: warn