Try to avoid Unable to reserve cache
errors when running the Build and update caches
workflow.
#62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and update caches | |
on: | |
pull_request: | |
branches: | |
- master | |
types: [closed] | |
permissions: | |
# Needed to avoid "Unable to reserve cache" issues for bazel jobs. | |
actions: write | |
jobs: | |
build-and-test: | |
if: ${{ github.event.pull_request.merged }} | |
uses: ./.github/workflows/build.yml | |
with: | |
run-tests: false | |
update-caches: true |