Skip to content

Translated using Weblate (Turkish) (#153) #168

Translated using Weblate (Turkish) (#153)

Translated using Weblate (Turkish) (#153) #168

Workflow file for this run

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Flatpak
jobs:
gnome-flatpak:
name: "GNOME on Flatpak"
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login != 'weblate' }}
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-45
options: --privileged
strategy:
matrix:
# As of the time of writing (February 2023), GitHub Actions only provides x86_64 runners. While Flatpak does
# provide cross-building for other architectures, it uses QEMU to do so, and dotnet does not play well under
# QEMU for arm64. See below links for potential updates:
# - https://github.com/dotnet/runtime/issues/13648
# - https://github.com/actions/runner-images/issues/5631
arch: [x86_64]
fail-fast: false
steps:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: flatpak/flatpak-github-actions/[email protected]
with:
bundle: org.nickvision.cavalier.flatpak
manifest-path: flatpak/org.nickvision.cavalier.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}
restore-cache: true