Skip to content

Verify Flatpak

Verify Flatpak #16

name: Verify Flatpak
on:
workflow_run:
workflows: ["Build and release"]
types:
- completed
workflow_dispatch:
jobs:
verify-flatpak:
if: github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
strategy:
matrix:
include:
- arch: x86_64
runner: ubuntu-latest
- arch: aarch64
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-25.08
options: --privileged
steps:
- uses: actions/checkout@v4
with:
ref: main
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
manifest-path: it.astrogods.AstroGods.yml
arch: ${{ matrix.arch }}
build-bundle: false
- name: Lint manifest
run: flatpak-builder-lint manifest it.astrogods.AstroGods.yml
- name: Lint repo
continue-on-error: true
run: flatpak-builder-lint repo repo