-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (32 loc) · 975 Bytes
/
flatpak.yml
File metadata and controls
34 lines (32 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
flatpak:
name: "Flatpak"
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.9
options: --privileged
strategy:
matrix:
variant:
- arch: x86_64
runner: ubuntu-24.04
- arch: aarch64
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.variant.runner }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive # fetch submodules (recursively)
fetch-depth: 0 # ensure full history so submodule refs are resolvable
token: ${{ secrets.GITHUB_TOKEN }}
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: photobooth.flatpak
manifest-path: io.github.saeugetier.photobooth.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.variant.arch }}
verbose: true