Skip to content

Flatpak

Flatpak #1000

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
name: "Flatpak"
jobs:
flatpak:
name: "Flatpak"
strategy:
matrix:
os: [ubuntu-latest, ubuntu-latest-arm64]
include:
- os: ubuntu-latest
arch: x86_64
- os: ubuntu-latest-arm64
arch: aarch64
fail-fast: false
runs-on: ${{ matrix.os }}
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-47
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build
uses: flatpak/flatpak-github-actions/flatpak-builder@master
with:
bundle: com.github.rafostar.Clapper.flatpak
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}
upload-artifact: false
- name: Upload
uses: actions/upload-artifact@v4
with:
name: clapper-flatpak-${{ matrix.arch }}
path: com.github.rafostar.Clapper.flatpak
if-no-files-found: error