Flatpak CI #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |