@@ -45,15 +45,15 @@ jobs:
4545 workload_identity_provider : ' projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
4646 service_account : ' my-service-account@my-project.iam.gserviceaccount.com'
4747
48- - id : deploy
49- uses : google-github-actions/deploy-cloud-functions@v0.7.0
48+ - id : ' deploy'
49+ uses : ' google-github-actions/deploy-cloud-functions@v0'
5050 with :
51- name : my-function
52- runtime : nodejs10
51+ name : ' my-function'
52+ runtime : ' nodejs12 '
5353
5454 # Example of using the output
55- - id : test
56- run : curl "${{ steps.deploy.outputs.url }}"
55+ - id : ' test'
56+ run : ' curl "${{ steps.deploy.outputs.url }}"'
5757` ` `
5858
5959## Inputs
@@ -221,19 +221,19 @@ jobs:
221221 id-token: 'write'
222222
223223 steps:
224- - uses: actions/checkout@v2
224+ - uses: ' actions/checkout@v2'
225225
226- - id: auth
227- uses: google-github-actions/auth@v0
226+ - id: ' auth'
227+ uses: ' google-github-actions/auth@v0'
228228 with:
229229 workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
230230 service_account: 'my-service-account@my-project.iam.gserviceaccount.com'
231231
232- - id: deploy
233- uses: google-github-actions/deploy-cloud-functions@v0.7.0
232+ - id: ' deploy'
233+ uses: ' google-github-actions/deploy-cloud-functions@v0'
234234 with:
235- name: my-function
236- runtime: nodejs10
235+ name: ' my-function'
236+ runtime: 'nodejs12'
237237` ` `
238238
239239# ### Authenticating via Service Account Key JSON
@@ -242,18 +242,18 @@ jobs:
242242jobs:
243243 job_id:
244244 steps:
245- - uses: actions/checkout@v2
245+ - uses: ' actions/checkout@v2'
246246
247- - id: auth
248- uses: google-github-actions/auth@v0
247+ - id: ' auth'
248+ uses: ' google-github-actions/auth@v0'
249249 with:
250- credentials_json: ${{ secrets.gcp_credentials }}
250+ credentials_json: ' ${{ secrets.gcp_credentials }}'
251251
252- - id: deploy
253- uses: google-github-actions/deploy-cloud-functions@v0.7.0
252+ - id: ' deploy'
253+ uses: ' google-github-actions/deploy-cloud-functions@v0'
254254 with:
255- name: my-function
256- runtime: nodejs10
255+ name: ' my-function'
256+ runtime: 'nodejs12'
257257` ` `
258258
259259# ## Via Application Default Credentials
@@ -267,13 +267,13 @@ only works using a custom runner hosted on GCP.**
267267jobs:
268268 job_id:
269269 steps:
270- - uses: actions/checkout@v2
270+ - uses: ' actions/checkout@v2'
271271
272- - id: Deploy
273- uses: google-github-actions/deploy-cloud-functions@v0.7.0
272+ - id: 'deploy'
273+ uses: ' google-github-actions/deploy-cloud-functions@v0'
274274 with:
275- name: my-function
276- runtime: nodejs10
275+ name: ' my-function'
276+ runtime: 'nodejs12'
277277` ` `
278278
279279The action will automatically detect and use the Application Default
0 commit comments