Skip to content

CI: modify flatpak.yml #10

CI: modify flatpak.yml

CI: modify flatpak.yml #10

Workflow file for this run

# Author: Kang Lin<kl222@126.com>
name: flatpak
on:
push:
pull_request:
jobs:
build_flatpak:
strategy:
matrix:
variant:
- arch: x86_64
runner: ubuntu-24.04
- arch: aarch64
runner: ubuntu-24.04-arm
# See: [About GitHub-hosted runners](https://docs.github.com/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners)
# See: [Choosing the runner for a job](https://docs.github.com/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job)
# See: https://github.com/actions/runner-images/
runs-on: ${{ matrix.variant.runner }}
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-44
options: --privileged
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Flatpak build
- uses: flathub-infra/flatpak-github-actions/flatpak-builder@master
with:
manifest-path: Package/io.github.KangLin.RabbitRemoteControl.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.variant.arch }}
verbose: true