Skip to content

Commit fe5f733

Browse files
authored
Deprecate v0 series (#396)
1 parent 0b35102 commit fe5f733

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 }}'

src/main.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import { posix } from 'path';
1818

1919
import {
20+
error as logError,
2021
getBooleanInput,
2122
getInput,
2223
info as logInfo,
@@ -44,6 +45,17 @@ import {
4445
import { SecretName } from './secret';
4546

4647
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+
4759
try {
4860
// Get inputs
4961
const name = getInput('name', { required: true });

0 commit comments

Comments
 (0)