-
Notifications
You must be signed in to change notification settings - Fork 16
37 lines (31 loc) · 969 Bytes
/
flatpak.yaml
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
name: Build flatpack package
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Build flatpak
steps:
- name: Check out sources
uses: actions/checkout@v2
- name: Set up flatpak build tools
run: |
set -e -u -x
sudo apt update
sudo apt install flatpak flatpak-builder
sudo flatpak remote-add --if-not-exists \
flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install --assumeyes flathub \
org.freedesktop.Platform//21.08 org.freedesktop.Sdk//21.08
sudo flatpak install --assumeyes flathub org.freedesktop.appstream-glib
- name: Verify metadata
run: |
flatpak run org.freedesktop.appstream-glib \
validate io.github.nicolasbock.ebuildtester.metainfo.xml
- name: Build flatpak
run: make flatpak