Bavarder/.github/workflows/build.yml

36 lines
870 B
YAML
Raw Normal View History

name: Build
on:
push:
branches: [ "main" ]
pull_request:
jobs:
flatpak:
name: Flatpak
runs-on: ubuntu-latest
container:
2023-05-26 00:14:01 +05:30
image: bilelmoussaoui/flatpak-github-actions:gnome-nightly
options: --privileged
strategy:
matrix:
2023-04-30 15:47:38 +05:30
arch: [x86_64]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
dnf -y install docker
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v2.1.0
with:
platforms: arm64
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: bavarder.flatpak
2023-08-20 18:28:30 +05:30
manifest-path: build-aux/flatpak/io.github.Bavarder.Bavarder.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}