@@ -17,9 +17,10 @@ support](https://cloud.google.com/support).**
1717 blobs to the specified bucket. See the [ Authorization] ( #authorization )
1818 section below for more information.
1919
20- - This action runs using Node 16. If you are using self-hosted GitHub Actions
21- runners, you must use runner version [ 2.285.0] ( https://github.com/actions/virtual-environments )
22- or newer.
20+ - This action runs using Node 24. If you are using self-hosted GitHub Actions
21+ runners, you must use a [ runner
22+ version] ( https://github.com/actions/virtual-environments ) that supports this
23+ version or later.
2324
2425## Usage
2526
@@ -43,13 +44,13 @@ jobs:
4344 uses : ' actions/checkout@v4'
4445
4546 - id : ' auth'
46- uses : ' google-github-actions/auth@v2 '
47+ uses : ' google-github-actions/auth@v3 '
4748 with :
4849 workload_identity_provider : ' projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
4950 service_account :
' [email protected] ' 5051
5152 - id : ' upload-file'
52- uses : ' google-github-actions/upload-cloud-storage@v2 '
53+ uses : ' google-github-actions/upload-cloud-storage@v3 '
5354 with :
5455 path : ' /path/to/file'
5556 destination : ' bucket-name'
@@ -77,13 +78,13 @@ jobs:
7778 uses: 'actions/checkout@v4'
7879
7980 - id: 'auth'
80- uses: 'google-github-actions/auth@v2 '
81+ uses: 'google-github-actions/auth@v3 '
8182 with:
8283 workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
8384 service_account: '[email protected] ' 8485
8586 - id: 'upload-folder'
86- uses: 'google-github-actions/upload-cloud-storage@v2 '
87+ uses: 'google-github-actions/upload-cloud-storage@v3 '
8788 with:
8889 path: '/path/to/folder'
8990 destination: 'bucket-name'
@@ -113,7 +114,7 @@ With default configuration
113114
114115` ` ` yaml
115116- id: 'upload-files'
116- uses: 'google-github-actions/upload-cloud-storage@v2 '
117+ uses: 'google-github-actions/upload-cloud-storage@v3 '
117118 with:
118119 path: 'myfolder'
119120 destination: 'bucket-name'
@@ -125,7 +126,7 @@ Optionally, you can also specify a prefix in destination.
125126
126127` ` ` yaml
127128- id: 'upload-files'
128- uses: 'google-github-actions/upload-cloud-storage@v2 '
129+ uses: 'google-github-actions/upload-cloud-storage@v3 '
129130 with:
130131 path: 'myfolder'
131132 destination: 'bucket-name/myprefix'
@@ -140,7 +141,7 @@ Setting `parent` to false will omit `path` when uploading to bucket.
140141
141142` ` ` yaml
142143- id: 'upload-files'
143- uses: 'google-github-actions/upload-cloud-storage@v2 '
144+ uses: 'google-github-actions/upload-cloud-storage@v3 '
144145 with:
145146 path: 'myfolder'
146147 destination: 'bucket-name'
@@ -155,7 +156,7 @@ Optionally, you can also specify a prefix in destination.
155156
156157` ` ` yaml
157158- id: 'upload-files'
158- uses: 'google-github-actions/upload-cloud-storage@v2 '
159+ uses: 'google-github-actions/upload-cloud-storage@v3 '
159160 with:
160161 path: 'myfolder'
161162 destination: 'bucket-name/myprefix'
@@ -170,7 +171,7 @@ You can specify a glob pattern like
170171
171172` ` ` yaml
172173- id: 'upload-files'
173- uses: 'google-github-actions/upload-cloud-storage@v2 '
174+ uses: 'google-github-actions/upload-cloud-storage@v3 '
174175 with:
175176 path: 'myfolder'
176177 destination: 'bucket-name'
@@ -348,12 +349,12 @@ jobs:
348349
349350 steps:
350351 - id: 'auth'
351- uses: 'google-github-actions/auth@v2 '
352+ uses: 'google-github-actions/auth@v3 '
352353 with:
353354 workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
354355 service_account: '[email protected] ' 355356
356- - uses: 'google-github-actions/upload-cloud-storage@v2 '
357+ - uses: 'google-github-actions/upload-cloud-storage@v3 '
357358` ` `
358359
359360# ## Via Application Default Credentials
@@ -368,7 +369,7 @@ jobs:
368369 job_id:
369370 steps:
370371 - id: 'upload-file'
371- uses: 'google-github-actions/upload-cloud-storage@v2 '
372+ uses: 'google-github-actions/upload-cloud-storage@v3 '
372373` ` `
373374
374375The action will automatically detect and use the Application Default
0 commit comments