goldwarden/.github/workflows/flatpak.yml

35 lines
887 B
YAML
Raw Normal View History

2023-12-23 19:28:55 +03:00
name: Flatpak
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
2023-12-27 05:50:39 +03:00
flatpak:
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 }}