mirror of
https://github.com/RustyRaptor/deckhud.git
synced 2026-12-03 15:55:16 -07:00
Bundles Qt 6.8, LayerShellQt v6.4.5 and the Wayland EGL client plugins (rpath-patched; linuxdeploy-plugin-qt skips them). CI builds it on every push and attaches it, with a .zsync for delta updates, to v* releases. Drop LayerShell.Window.activateOnShow, which LayerShellQt < 6.5 lacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013UzjWSBjtVZ2zi8fJxS2hH
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
name: appimage
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
tags: ['v*']
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
appimage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: go.mod
|
|
- name: Build daemon
|
|
run: go build -trimpath -ldflags "-s -w" -o bin/deckhudd ./cmd/deckhudd
|
|
env:
|
|
CGO_ENABLED: "0"
|
|
- name: Build AppImage
|
|
run: |
|
|
podman build -t deckhud-appimage packaging/appimage
|
|
podman run --rm -e VERSION="$(git describe --tags --always)" \
|
|
-v "$PWD:/src/deckhud:Z" deckhud-appimage /src/deckhud/packaging/appimage/build.sh
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: deckhud-appimage
|
|
path: build-appimage/deckhud-*.AppImage*
|
|
- name: Publish release
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
run: |
|
|
gh release create "$GITHUB_REF_NAME" build-appimage/deckhud-*.AppImage* \
|
|
--title "deckhud ${GITHUB_REF_NAME#v}" --generate-notes \
|
|
|| gh release upload "$GITHUB_REF_NAME" build-appimage/deckhud-*.AppImage* --clobber
|