Files
ink-note-app/.gitea/workflows/build.yml
T
Your NameandClaude Haiku 5.5 3613df7772 ci: build AppImage and deb in CI; flatpak stays local
flatpak-builder cannot run inside the job container.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-15 13:50:05 +02:00

55 lines
1.5 KiB
YAML

# Builds Ink for Linux and Windows on every v* tag (or by hand) on a Gitea Actions runner.
# macOS needs a Mac runner labelled "macos"; the job below stays off until you add one.
name: build
on:
push:
tags: ['v*']
workflow_dispatch:
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Tools
run: |
apt-get update
apt-get install -y fakeroot dpkg rpm libarchive-tools
npm i -g bun
- run: bun install --frozen-lockfile --ignore-scripts
- run: bun run build
- run: bunx electron-builder --linux AppImage deb
- uses: actions/upload-artifact@v3
with:
name: linux
path: |
dist/*.AppImage
dist/*.deb
windows:
runs-on: ubuntu-latest
container: electronuserland/builder:wine
steps:
- uses: actions/checkout@v4
- run: npm i -g bun
- run: bun install --frozen-lockfile --ignore-scripts
- run: bun run build
- run: bunx electron-builder --win nsis
- uses: actions/upload-artifact@v3
with:
name: windows
path: dist/*.exe
# macos:
# runs-on: macos
# steps:
# - uses: actions/checkout@v4
# - run: npm i -g bun
# - run: bun install --frozen-lockfile --ignore-scripts
# - run: bun run build
# - run: bunx electron-builder --mac dmg
# - uses: actions/upload-artifact@v3
# with:
# name: macos
# path: dist/*.dmg