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:
119
119
- name : ' npm build'
120
120
run : ' npm ci && npm run build'
121
121
122
- - uses : ' google-github-actions/setup-gcloud@master '
122
+ - uses : ' google-github-actions/setup-gcloud@main '
123
123
with :
124
124
service_account_email : ' ${{ secrets.DEPLOY_CF_SA_EMAIL }}'
125
125
service_account_key : ' ${{ secrets.DEPLOY_CF_SA_KEY_JSON }}'
Original file line number Diff line number Diff line change 17
17
import { posix } from 'path' ;
18
18
19
19
import {
20
+ error as logError ,
20
21
getBooleanInput ,
21
22
getInput ,
22
23
info as logInfo ,
@@ -44,6 +45,17 @@ import {
44
45
import { SecretName } from './secret' ;
45
46
46
47
async 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
+
47
59
try {
48
60
// Get inputs
49
61
const name = getInput ( 'name' , { required : true } ) ;
You can’t perform that action at this time.
0 commit comments