-
-
Notifications
You must be signed in to change notification settings - Fork 78
38 lines (33 loc) · 1.21 KB
/
flatpak.yml
File metadata and controls
38 lines (33 loc) · 1.21 KB
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
35
36
37
38
# 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