mirror of
https://github.com/google-github-actions/auth.git
synced 2026-08-29 01:19:22 +00:00
docs: Update actions/checkout references to v5
This commit is contained in:
parent
fc2174804b
commit
2db0581fcf
3 changed files with 10 additions and 10 deletions
|
|
@ -26,7 +26,7 @@ support](https://cloud.google.com/support).**
|
|||
|
||||
## Prerequisites
|
||||
|
||||
- Run the `actions/checkout@v4` step _before_ this action. Omitting the
|
||||
- Run the `actions/checkout@v5` step _before_ this action. Omitting the
|
||||
checkout step or putting it after `auth` will cause future steps to be
|
||||
unable to authenticate.
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
id-token: 'write'
|
||||
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4'
|
||||
- uses: 'actions/checkout@v5'
|
||||
|
||||
- uses: 'google-github-actions/auth@v3'
|
||||
with:
|
||||
|
|
@ -248,7 +248,7 @@ regardless of the authentication mechanism.
|
|||
jobs:
|
||||
job_id:
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4' # Must come first!
|
||||
- uses: 'actions/checkout@v5' # Must come first!
|
||||
- uses: 'google-github-actions/auth@v3'
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ value into a GitHub Secret named 'GOOGLE_CREDENTIALS'.
|
|||
jobs:
|
||||
job_id:
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4'
|
||||
- uses: 'actions/checkout@v5'
|
||||
|
||||
- uses: 'google-github-actions/auth@v3'
|
||||
with:
|
||||
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
id-token: 'write'
|
||||
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4'
|
||||
- uses: 'actions/checkout@v5'
|
||||
|
||||
- id: 'auth'
|
||||
uses: 'google-github-actions/auth@v3'
|
||||
|
|
@ -133,7 +133,7 @@ jobs:
|
|||
id-token: 'write'
|
||||
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4'
|
||||
- uses: 'actions/checkout@v5'
|
||||
|
||||
- id: 'auth'
|
||||
uses: 'google-github-actions/auth@v3'
|
||||
|
|
@ -170,7 +170,7 @@ jobs:
|
|||
id-token: 'write'
|
||||
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4'
|
||||
- uses: 'actions/checkout@v5'
|
||||
|
||||
- id: 'auth'
|
||||
uses: 'google-github-actions/auth@v3'
|
||||
|
|
@ -220,7 +220,7 @@ jobs:
|
|||
id-token: 'write'
|
||||
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4'
|
||||
- uses: 'actions/checkout@v5'
|
||||
|
||||
- id: 'auth'
|
||||
uses: 'google-github-actions/auth@v3'
|
||||
|
|
|
|||
|
|
@ -21,12 +21,12 @@
|
|||
to these resources are eventually consistent. Usually they happen
|
||||
immediately, but sometimes they can take up to 5 minutes to propagate.
|
||||
|
||||
1. Ensure `actions/checkout@v4` is **before** the `auth` action in your
|
||||
1. Ensure `actions/checkout@v5` is **before** the `auth` action in your
|
||||
workflow.
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4'
|
||||
- uses: 'actions/checkout@v5'
|
||||
- uses: 'google-github-actions/auth@v3'
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue