From b1fabf7a36802073f0901ca600dadba9e77b740b Mon Sep 17 00:00:00 2001 From: Cassidy James Blaede Date: Sun, 23 Feb 2025 18:07:53 -0700 Subject: [PATCH] GitHub Actions: Add Flatpak action Help make sure any Linux changes don't break the Flatpak build. --- .github/workflows/flatpak.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/flatpak.yml diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml new file mode 100644 index 0000000..bcb2f5c --- /dev/null +++ b/.github/workflows/flatpak.yml @@ -0,0 +1,24 @@ +name: Flatpak +on: + push: + branches: + - master2 + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + flatpak: + runs-on: ubuntu-latest + container: + image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-24.08 + options: --privileged + steps: + - uses: actions/checkout@v4 + - uses: flathub-infra/flatpak-github-actions/flatpak-builder@master + with: + bundle: tinycrate.flatpak + manifest-path: linux/net.hhoney.tinycrate.yml + cache-key: "flatpak-builder-${{ github.sha }}"