Files
Daniel Johnson 272a25fc25 Publish AppImage as a release asset via GitHub Actions
Wires up the AppImage build to the existing release process: when a
release (or prerelease) is published, a new workflow spins up an
ubuntu-22.04 runner, runs `make appimage` (same container path
developers use locally, so the artifact is bit-for-bit identical),
and attaches the resulting Lutris-<version>-x86_64.AppImage to the
release using the bundled gh CLI.

A workflow_dispatch trigger is included so the build can be exercised
from the Actions tab without cutting a release; in that mode it stops
at the workflow-artifact upload and never touches a release.

The job declares `contents: write` explicitly because the repo's
default workflow permissions are read-only (verified via
`gh api repos/lutris/lutris/actions/permissions/workflow`), and
attaching a release asset is a contents write under GitHub's
permission model. All actions used are first-party (actions/checkout,
actions/upload-artifact) to match the rest of .github/workflows/.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-07 10:37:45 -04:00
..