2023-12-23 17:28:55 +01:00
|
|
|
name: Flatpak
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [main]
|
|
|
|
pull_request:
|
|
|
|
branches: [main]
|
|
|
|
jobs:
|
2023-12-27 03:50:39 +01:00
|
|
|
flatpak:
|
2023-12-30 04:46:49 +01:00
|
|
|
name: "Flatpak"
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: bilelmoussaoui/flatpak-github-actions:gnome-45
|
|
|
|
options: --privileged
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
arch: [x86_64, aarch64]
|
|
|
|
fail-fast: false
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install deps
|
|
|
|
if: ${{ matrix.arch != 'x86_64' }}
|
|
|
|
run: |
|
|
|
|
dnf -y install docker
|
|
|
|
- name: Set up QEMU
|
|
|
|
if: ${{ matrix.arch != 'x86_64' }}
|
|
|
|
id: qemu
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
with:
|
|
|
|
platforms: arm64
|
|
|
|
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
|
|
|
with:
|
|
|
|
bundle: goldwarden.flatpak
|
|
|
|
manifest-path: com.quexten.Goldwarden.yml
|
|
|
|
cache-key: flatpak-builder-${{ github.sha }}
|
|
|
|
arch: ${{ matrix.arch }}
|