You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only enable bazel caching writes for tensorflow/io github actions (#1293)
This PR updates so that only GitHub actions run on
tensorflow/io repo will be enabled with bazel cache writes.
Without the updates, a focked repo actions will cause error.
Note once bazel cache read-permissions are enabled from gcs
forked repo will be able to access bazel cache (read-only).
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
set "BAZEL_OPTIMIZATION=--remote_cache=https://storage.googleapis.com/tensorflow-sigs-io --remote_upload_local_results=true --google_credentials=service_account_creds.json"
331
+
if "%REPO_NAME%" == "tensorflow/io" (
332
+
printenv GCP_CREDS > service_account_creds.json
333
+
set "BAZEL_OPTIMIZATION=--remote_cache=https://storage.googleapis.com/tensorflow-sigs-io --remote_upload_local_results=true --google_credentials=service_account_creds.json"
0 commit comments