From 8ce977505e1dd3f4a6f399b9ec285f9ae894713c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Thu, 10 Mar 2022 20:51:45 +0100 Subject: [PATCH] actions: nightly: Manually install SDK extensions via workflow The github actions Flatpak action only allows to specify single source for installing missing dependencies. This makes impossible to build some things from "gnome-nightly" while others from "flathub" repo. Work around this limitation by manually installing missing SDK extensions from Flathub prior to using this git action. --- .github/workflows/flatpak-nightly.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flatpak-nightly.yml b/.github/workflows/flatpak-nightly.yml index 3d08c5a4..f81a29b5 100644 --- a/.github/workflows/flatpak-nightly.yml +++ b/.github/workflows/flatpak-nightly.yml @@ -26,8 +26,12 @@ jobs: uses: docker/setup-qemu-action@v1 with: platforms: arm64 + - name: Prepare Runtime + run: | + flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.rust-nightly/${{ matrix.arch }}/21.08 + flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.llvm13/${{ matrix.arch }}/21.08 - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 - name: "Build" + name: Build with: bundle: com.github.rafostar.Clapper.flatpak manifest-path: pkgs/flatpak/com.github.rafostar.Clapper-nightly.json