Merge pull request #88 from Rafostar/workflow

Add Flatpak workflows
This commit is contained in:
Rafał Dzięgiel
2021-06-24 20:31:17 +02:00
committed by GitHub
2 changed files with 46 additions and 0 deletions

21
.github/workflows/flatpak-testing.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
on:
schedule:
- cron: "0 0 * * *"
name: "Flatpak Testing"
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-testing.json
cache-key: flatpak-builder-${{ github.sha }}

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 }}