GitHub workflow and fixes

This commit is contained in:
Stephen Horvath
2025-03-20 17:17:14 +10:00
parent 754fbd868b
commit c1ec487145
5 changed files with 45 additions and 2 deletions

24
.github/workflows/flatpak.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Flatpak Build
on:
push:
branches: [main]
pull_request:
jobs:
flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-47
options: --privileged
steps:
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: yafi-${{ github.sha }}.flatpak
manifest-path: au.stevetech.yafi.json
cache-key: flatpak-builder-${{ github.sha }}
- uses: actions/upload-artifact@v4
with:
name: yafi ${{ github.sha }}
path: yafi-${{ github.sha }}.flatpak