Skip to content

Commit d548453

Browse files
authored
Update README and CI to use latest version (#65)
1 parent 7be1e1c commit d548453

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040
- uses: 'actions/checkout@v4'
4141

4242
- id: 'auth'
43-
uses: 'google-github-actions/auth@v1'
43+
uses: 'google-github-actions/auth@v2'
4444
with:
4545
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
4646
service_account: '[email protected]'
4747

4848
- id: 'compute-ssh'
49-
uses: 'google-github-actions/ssh-compute@v0'
49+
uses: 'google-github-actions/ssh-compute@v1'
5050
with:
5151
instance_name: 'example-instance'
5252
zone: 'us-central1-a'
@@ -104,13 +104,13 @@ jobs:
104104
- uses: 'actions/checkout@v4'
105105
106106
- id: 'auth'
107-
uses: 'google-github-actions/auth@v1'
107+
uses: 'google-github-actions/auth@v2'
108108
with:
109109
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
110110
service_account: '[email protected]'
111111
112112
- id: 'compute-ssh'
113-
uses: 'google-github-actions/ssh-compute@v0'
113+
uses: 'google-github-actions/ssh-compute@v1'
114114
with:
115115
instance_name: 'example-instance'
116116
zone: 'us-central1-a'
@@ -127,12 +127,12 @@ jobs:
127127
- uses: 'actions/checkout@v4'
128128
129129
- id: 'auth'
130-
uses: 'google-github-actions/auth@v1'
130+
uses: 'google-github-actions/auth@v2'
131131
with:
132132
credentials_json: '${{ secrets.gcp_credentials }}'
133133
134134
- id: 'compute-ssh'
135-
uses: 'google-github-actions/ssh-compute@v0'
135+
uses: 'google-github-actions/ssh-compute@v1'
136136
with:
137137
instance_name: 'example-instance'
138138
zone: 'us-central1-a'
@@ -154,7 +154,7 @@ jobs:
154154
- uses: 'actions/checkout@v4'
155155
156156
- id: 'compute-ssh'
157-
uses: 'google-github-actions/ssh-compute@v0'
157+
uses: 'google-github-actions/ssh-compute@v1'
158158
with:
159159
instance_name: 'example-instance'
160160
zone: 'us-central1-a'

workflow-examples/ssh-command-example.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
# Configure Workload Identity Federation and generate an access token.
3636
- id: 'auth'
3737
name: 'Authenticate to Google Cloud'
38-
uses: 'google-github-actions/auth@v1'
38+
uses: 'google-github-actions/auth@v2'
3939
with:
4040
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
4141
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
4242

4343
- name: 'SSH to GCP instance'
4444
id: 'ssh'
45-
uses: 'google-github-actions/ssh-compute@v0'
45+
uses: 'google-github-actions/ssh-compute@v1'
4646
with:
4747
instance_name: 'instance-name'
4848
zone: '${{ env.ZONE }}'

workflow-examples/ssh-script-example.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
# Configure Workload Identity Federation and generate an access token.
3636
- id: 'auth'
3737
name: 'Authenticate to Google Cloud'
38-
uses: 'google-github-actions/auth@v1'
38+
uses: 'google-github-actions/auth@v2'
3939
with:
4040
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
4141
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
4242

4343
- name: 'SSH to GCP instance'
4444
id: 'ssh'
45-
uses: 'google-github-actions/ssh-compute@v0'
45+
uses: 'google-github-actions/ssh-compute@v1'
4646
with:
4747
instance_name: 'instance-name'
4848
zone: '${{ env.ZONE }}'

0 commit comments

Comments
 (0)