Skip to content

Commit

Permalink
Use remote cache for push events too (#7124)
Browse files Browse the repository at this point in the history
  • Loading branch information
will-cromar authored May 28, 2024
1 parent be3b08e commit 7770a49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_build_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
GCLOUD_SERVICE_KEY: ${{ secrets.gcloud-service-key }}
GOOGLE_APPLICATION_CREDENTIALS: /tmp/default_credentials.json
BAZEL_JOBS: 16
BAZEL_REMOTE_CACHE: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
BAZEL_REMOTE_CACHE: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
steps:
- name: Setup gcloud
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_build_torch_xla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
GCLOUD_SERVICE_KEY: ${{ secrets.gcloud-service-key }}
GOOGLE_APPLICATION_CREDENTIALS: /tmp/default_credentials.json
BAZEL_JOBS: 16
BAZEL_REMOTE_CACHE: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
BAZEL_REMOTE_CACHE: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
BUILD_CPP_TESTS: 1
steps:
- name: Setup gcloud
Expand Down

0 comments on commit 7770a49

Please sign in to comment.