Skip to content

Commit f1740b5

Browse files
authored
Update README and CI to use latest version (#49)
1 parent 68472d6 commit f1740b5

File tree

2 files changed

+4
-25
lines changed

2 files changed

+4
-25
lines changed

.github/workflows/integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949

5050
- id: 'auth'
5151
name: 'Auth'
52-
uses: 'google-github-actions/auth@v1'
52+
uses: 'google-github-actions/auth@v2'
5353
with:
5454
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
5555
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
5656

5757
- id: 'gcloud-setup'
5858
name: 'Set up Cloud SDK'
59-
uses: 'google-github-actions/setup-gcloud@main'
59+
uses: 'google-github-actions/setup-gcloud@v2'
6060
with:
6161
project_id: '${{ vars.PROJECT_ID }}'
6262

README.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
- uses: 'actions/checkout@v4'
4141

42-
- uses: 'google-github-actions/auth@v1'
42+
- uses: 'google-github-actions/auth@v2'
4343
with:
4444
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
4545
service_account: '[email protected]'
@@ -192,7 +192,7 @@ jobs:
192192
193193
# ...
194194
195-
- uses: 'google-github-actions/auth@v1'
195+
- uses: 'google-github-actions/auth@v2'
196196
with:
197197
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
198198
service_account: '[email protected]'
@@ -301,27 +301,6 @@ project level.
301301

302302
- [Example workflows][examples] for `create-cloud-deploy-release`
303303

304-
## Versioning
305-
306-
We recommend pinning to the latest available major version:
307-
308-
```yaml
309-
- uses: 'google-github-actions/create-cloud-deploy-release@v1'
310-
```
311-
312-
While this action attempts to follow semantic versioning, but we're ultimately
313-
human and sometimes make mistakes. To prevent accidental breaking changes, you
314-
can also pin to a specific version:
315-
316-
```yaml
317-
- uses: 'google-github-actions/[email protected]'
318-
```
319-
320-
However, you will not get automatic security updates or new features without
321-
explicitly updating your version number. Note that we only publish `MAJOR` and
322-
`MAJOR.MINOR.PATCH` versions. There is **not** a floating alias for
323-
`MAJOR.MINOR`.
324-
325304

326305
[anthos]: https://cloud.google.com/anthos
327306
[cd]: https://cloud.google.com/deploy

0 commit comments

Comments
 (0)