File tree 8 files changed +26
-24
lines changed
8 files changed +26
-24
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ jobs:
27
27
- uses : actions/setup-python@v4
28
28
with :
29
29
python-version : ' 3.9'
30
- - uses : google-github-actions/setup-gcloud@v1
30
+ - uses : ' google-github-actions/auth@v2 '
31
31
with :
32
- export_default_credentials : true
33
- service_account_key : ${{ secrets.GCP_SA_KEY }}
32
+ credentials_json : ' ${{ secrets.GCP_SA_KEY }} '
33
+ - uses : google-github-actions/setup-gcloud@v2
34
34
- name : Run checks
35
35
run : |
36
36
curl -sSL https://install.python-poetry.org | python -
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ jobs:
39
39
with :
40
40
python-version : ' 3.9'
41
41
- run : curl -sSL https://install.python-poetry.org | python -
42
- - uses : google-github-actions/setup-gcloud@v1
42
+ - uses : ' google-github-actions/auth@v2 '
43
43
with :
44
- export_default_credentials : true
45
- service_account_key : ${{ secrets.GCP_SA_KEY }}
44
+ credentials_json : ' ${{ secrets.GCP_SA_KEY }} '
45
+ - uses : google-github-actions/setup-gcloud@v2
46
46
- name : Compile dbt project
47
47
working-directory : warehouse
48
48
run : |
Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ jobs:
16
16
with :
17
17
fetch-depth : 0
18
18
19
- - uses : google-github-actions/setup-gcloud@v1
19
+ - uses : ' google-github-actions/auth@v2 '
20
20
with :
21
- export_default_credentials : true
22
- service_account_key : ${{ secrets.GCP_SA_KEY }}
21
+ credentials_json : ' ${{ secrets.GCP_SA_KEY }}'
22
+
23
+ - uses : google-github-actions/setup-gcloud@v2
23
24
24
25
# Only update requirements if they have changed; Composer throws an error if there are no changes to apply
25
26
- uses : tj-actions/changed-files@v35
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ jobs:
22
22
with :
23
23
python-version : 3.9
24
24
- run : pip install -r docs/requirements.txt
25
- - uses : google-github-actions/setup-gcloud@v1
25
+ - uses : ' google-github-actions/auth@v2 '
26
26
with :
27
- service_account_key : ${{ secrets.GCP_SA_KEY }}
28
- export_default_credentials : true
27
+ credentials_json : ' ${{ secrets.GCP_SA_KEY }}'
28
+ - uses : google-github-actions/setup-gcloud@v2
29
29
30
30
- name : Build jupyter book
31
31
run : jb build docs --warningiserror --keep-going # set doc to fail on any sphinx warning
Original file line number Diff line number Diff line change 9
9
release :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : google-github-actions/setup-gcloud@v1
12
+ - uses : ' google-github-actions/auth@v2 '
13
13
with :
14
- export_default_credentials : true
15
- service_account_key : ${{ secrets.GCP_SA_KEY }}
14
+ credentials_json : ' ${{ secrets.GCP_SA_KEY }} '
15
+ - uses : google-github-actions/setup-gcloud@v2
16
16
- uses : ' google-github-actions/get-secretmanager-secrets@v1'
17
17
id : secrets
18
18
with :
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
19
19
uses : actions/checkout@v2
20
20
with :
21
21
fetch-depth : 0
22
- - uses : google-github-actions/setup-gcloud@v1
22
+ - uses : ' google-github-actions/auth@v2 '
23
23
with :
24
- service_account_key : ${{ secrets.GCP_SA_KEY }}
25
- export_default_credentials : true
24
+ credentials_json : ' ${{ secrets.GCP_SA_KEY }}'
25
+ - uses : google-github-actions/setup-gcloud@v2
26
26
- name : install auth plugin
27
27
run : gcloud components install gke-gcloud-auth-plugin
28
28
- uses : google-github-actions/get-gke-credentials@v1
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ jobs:
26
26
with :
27
27
fetch-depth : 0
28
28
29
- - uses : google-github-actions/setup-gcloud@v1
29
+ - uses : ' google-github-actions/auth@v2 '
30
30
with :
31
- service_account_key : ${{ secrets.GCP_SA_KEY }}
32
- export_default_credentials : true
31
+ credentials_json : ' ${{ secrets.GCP_SA_KEY }}'
32
+ - uses : google-github-actions/setup-gcloud@v2
33
33
- run : gcloud components install gke-gcloud-auth-plugin
34
34
- uses : google-github-actions/get-gke-credentials@v1
35
35
with :
Original file line number Diff line number Diff line change @@ -20,10 +20,11 @@ jobs:
20
20
fetch-depth : 0
21
21
submodules : true
22
22
23
- - uses : google-github-actions/setup-gcloud@v1
23
+ - uses : ' google-github-actions/auth@v2 '
24
24
with :
25
- service_account_key : ${{ secrets.GCP_SA_KEY }}
26
- export_default_credentials : true
25
+ credentials_json : ' ${{ secrets.GCP_SA_KEY }}'
26
+
27
+ - uses : google-github-actions/setup-gcloud@v2
27
28
28
29
- uses : hashicorp/setup-terraform@v2
29
30
with :
You can’t perform that action at this time.
0 commit comments