Skip to content

Commit

Permalink
CI: Enable disk cache again
Browse files Browse the repository at this point in the history
I'm not sure if GH keeps it across runs.
  • Loading branch information
ulfjack committed Feb 19, 2024
1 parent 9630c8d commit d0dbad5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d0dbad5

Please sign in to comment.