diff --git a/.ci/flatpak/build.sh b/.ci/flatpak/build.sh index ab6ce9a4da9..7013ce752c2 100755 --- a/.ci/flatpak/build.sh +++ b/.ci/flatpak/build.sh @@ -2,7 +2,9 @@ # This requires a bunch of environment variables to be set. See the CI workflow echo "::group::flatpak-builder" -flatpak run --command=flatpak-builder org.flatpak.Builder --repo=${WZ_FLATPAK_LOCAL_REPO_NAME} --disable-rofiles-fuse --force-clean --default-branch=${WZ_FLATPAK_BRANCH} --mirror-screenshots-url=${WZ_FLATPAK_MIRROR_SCREENSHOTS_URL} "$(pwd)/${WZ_FLATPAK_BUILD_DIR}" "$(pwd)/${WZ_FLATPAK_MANIFEST_PATH}" +mkdir -p "$(pwd)/.flatpak-builder" +echo "CCACHE_DIR=${CCACHE_DIR}" +flatpak run --command=flatpak-builder org.flatpak.Builder --repo=${WZ_FLATPAK_LOCAL_REPO_NAME} --disable-rofiles-fuse --force-clean --default-branch=${WZ_FLATPAK_BRANCH} --mirror-screenshots-url=${WZ_FLATPAK_MIRROR_SCREENSHOTS_URL} "${WZ_FLATPAK_BUILD_DIR}" "${WZ_FLATPAK_MANIFEST_PATH}" echo "::endgroup::" if [[ "$WZ_FLATPAK_TARGET_ARCH" != "$WZ_FLATPAK_BUILD_ARCH" ]]; then