Skip to content

Commit

Permalink
ci: Use a dedicated state directory for docker jobs
Browse files Browse the repository at this point in the history
so that it does not overlap with other state directories and doesn't
cause random cccache crashes
  • Loading branch information
bbhtt committed Jan 26, 2025
1 parent f6e96df commit f6e6a89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Cache flatpak build
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/.flatpak-builder
path: ${{ github.workspace }}/docker-cache/.flatpak-builder
key: fb-${{ matrix.platform }}-${{ runner.os }}

- name: Build flatpak-builder-lint
Expand All @@ -70,7 +70,7 @@ jobs:
fi
cd docker/org.flatpak.Builder/
dbus-run-session flatpak run org.flatpak.Builder \
--state-dir="$GITHUB_WORKSPACE/.flatpak-builder" \
--state-dir="$GITHUB_WORKSPACE/docker-cache/.flatpak-builder" \
--arch="$arch" --verbose --user --force-clean --ccache \
--install-deps-from=flathub builddir org.flatpak.Builder.json
rm -rf "builddir/files/lib/debug"
Expand Down

0 comments on commit f6e6a89

Please sign in to comment.