File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ jobs:
119119 - name : ' npm build'
120120 run : ' npm ci && npm run build'
121121
122- - uses : ' google-github-actions/setup-gcloud@master '
122+ - uses : ' google-github-actions/setup-gcloud@main '
123123 with :
124124 service_account_email : ' ${{ secrets.DEPLOY_CF_SA_EMAIL }}'
125125 service_account_key : ' ${{ secrets.DEPLOY_CF_SA_KEY_JSON }}'
Original file line number Diff line number Diff line change 1717import { posix } from 'path' ;
1818
1919import {
20+ error as logError ,
2021 getBooleanInput ,
2122 getInput ,
2223 info as logInfo ,
@@ -44,6 +45,17 @@ import {
4445import { SecretName } from './secret' ;
4546
4647async function run ( ) : Promise < void > {
48+ // v0 is deprecated and is no longer supported per our "two major versions"
49+ // policy.
50+ logError (
51+ `The v0 series of google-github-actions/deploy-cloud-functions is no ` +
52+ `longer maintained. It will not receive updates, improvements, or ` +
53+ `security patches. Please upgrade to the latest supported versions: ` +
54+ `\n` +
55+ `\n` +
56+ ` https://github.com/google-github-actions/deploy-cloud-functions` ,
57+ ) ;
58+
4759 try {
4860 // Get inputs
4961 const name = getInput ( 'name' , { required : true } ) ;
You can’t perform that action at this time.
0 commit comments