From 3758dad2b2acee2b032c7b5008fe6d9a52e4aeb0 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 31 Mar 2020 10:49:14 -0400 Subject: [PATCH] Document actions/checkout@v2 requirement The workspace isn't share in v1. Refs: GH-80. --- setup-gcloud/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup-gcloud/README.md b/setup-gcloud/README.md index 01205419..570522ba 100644 --- a/setup-gcloud/README.md +++ b/setup-gcloud/README.md @@ -38,11 +38,16 @@ It does the following: be available in later steps. Google Cloud technologies automatically use this environment variable to find credentials. + **IMPORTANT!** Exporting default credentials requires `actions/checkout@v2`. + The `v1` tag is not supported and will not work. + ## Prerequisites * This action requires [Python](https://www.python.org/) 2.7.9 or later to be installed on the environment. -* A pre-configured GCP service account. [More info](https://cloud.google.com/iam/docs/creating-managing-service-accounts) +* A pre-configured GCP service account. [More info](https://cloud.google.com/iam/docs/creating-managing-service-accounts). + +* `actions/checkout@v2` if using `export_default_credentials`. ## Usage