From 147d6e67ba0d7b4120c9f0fe969a45eb4912b3f6 Mon Sep 17 00:00:00 2001 From: Ulf Adams Date: Mon, 19 Feb 2024 15:52:49 +0100 Subject: [PATCH] CI: Enable disk cache again I'm not sure if GH keeps it across runs. --- .github/workflows/presubmit.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index 4b8c315..272fff0 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -20,12 +20,13 @@ jobs: - name: Configure run: | echo "build --compilation_mode=opt" > $HOME/.bazelrc - echo "# build --disk_cache=$HOME/.cache/bazel/" >> $HOME/.bazelrc + echo "build --disk_cache=$HOME/.cache/bazel/" >> $HOME/.bazelrc echo "build --announce_rc" >> $HOME/.bazelrc echo "build --keep_going" >> $HOME/.bazelrc echo "build --strategy=Javac=worker" >> $HOME/.bazelrc echo "test --test_output=errors" >> $HOME/.bazelrc echo "test --test_verbose_timeout_warnings" >> $HOME/.bazelrc + mkdir -p "$HOME/.cache/bazel/" - name: Configure (Windows) if: matrix.os == 'windows-latest' && success()