1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 23:29:41 +02:00

Update flatpak-github-actions@v3 to v4

Add QEMU to emulate ARM platform so aarch64 builds are correctly built
Update flatpak-github-actions to use v4 to fix cache per arch issue

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
This commit is contained in:
Emily Mabrey 2021-09-01 08:47:02 -04:00
parent 543bf3b993
commit b34128b4c0
No known key found for this signature in database
GPG Key ID: 6F4EF47256A1B7DC

View File

@ -18,8 +18,19 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
# Emulate to provide ARM support
- name: Install deps
run: |
dnf -y install docker ninja-build
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt:latest
platforms: arm64
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
with:
bundle: tenacity.flatpak
manifest-path: packaging/flatpak/org.tenacity.Tenacity.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}