-
-
Notifications
You must be signed in to change notification settings - Fork 73
40 lines (35 loc) · 1.15 KB
/
build_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
38
39
40
on:
push:
# branches: [main]
pull_request:
name: Build Flatpak app
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-24.04
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-24.08
options: --privileged
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install rustup
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Run rustup
run: |
. "$HOME/.cargo/env"
rustup toolchain install stable
- name: Clone Flatpak repo
run: |
git clone --recurse-submodules https://github.com/C0rn3j/com.github.taiko2k.tauonmb.git tauon-flatpak
cd tauon-flatpak; git checkout tekoreless
- name: "[DEBUG] List all files"
run: find .
# https://github.com/marketplace/actions/flatpak-builder
- name: Build Flatpak
uses: flatpak/flatpak-github-actions/[email protected]
with:
bundle: tauonmb.flatpak
manifest-path: tauon-flatpak/com.github.taiko2k.tauonmb.json
cache-key: flatpak-builder-${{ github.sha }}