ci(flatpak): stop the Gradle daemon before reclaiming its home (#7347)

This commit is contained in:
James Rich authored and GitHub committed 2026-09-24 20:14:51 -05:00
1 parent df78aaafcd
commit ef9d2fe725
1 file changed
+4 -1
+4 -1
View File
@@ -122,8 +122,11 @@ jobs:
echo "- URLs captured: $(jq length flatpak-sources.json)" >> "$GITHUB_STEP_SUMMARY"
# flatpak-builder re-downloads the whole closure anyway; a second copy just eats disk.
# The daemon from the previous step still writes into this home, so stop it first.
- name: Reclaim the isolated Gradle home
run: rm -rf "$RUNNER_TEMP/flatpak-gradle-home"
run: |
./gradlew -Dgradle.user.home="$RUNNER_TEMP/flatpak-gradle-home" --stop
rm -rf "$RUNNER_TEMP/flatpak-gradle-home"
- name: Clone the Flathub packaging repo
run: |