Add flatpak workflow

Builds on push/pull with Flathub patches
This commit is contained in:
Rafał Dzięgiel
2021-06-24 19:31:31 +02:00
parent 9b31581aac
commit c6cd829e7b

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

@@ -0,0 +1,25 @@
on:
push:
branches:
- master
pull_request:
branches:
- master
name: "Flatpak"
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-40
options: --privileged
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
name: "Build"
with:
bundle: com.github.rafostar.Clapper.flatpak
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper.json
cache-key: flatpak-builder-${{ github.sha }}