Skip to content

Commit a76efe2

Browse files
authored
Deprecate v0 series (#339)
1 parent f100779 commit a76efe2

File tree

5 files changed

+20
-8
lines changed

5 files changed

+20
-8
lines changed

.github/workflows/deploy-appengine-creds-it.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16-
- uses: google-github-actions/setup-gcloud@main
16+
- uses: google-github-actions/setup-gcloud@v0
1717
with:
1818
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
1919
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
@@ -60,7 +60,7 @@ jobs:
6060
runs-on: ubuntu-latest
6161
steps:
6262
- uses: actions/checkout@v3
63-
- uses: google-github-actions/setup-gcloud@main
63+
- uses: google-github-actions/setup-gcloud@v0
6464
with:
6565
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
6666

.github/workflows/deploy-appengine-inputs-it.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16-
- uses: google-github-actions/setup-gcloud@main
16+
- uses: google-github-actions/setup-gcloud@v0
1717
with:
1818
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
1919
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
@@ -92,7 +92,7 @@ jobs:
9292
- run: |-
9393
gcloud config unset project
9494
95-
- uses: google-github-actions/setup-gcloud@main
95+
- uses: google-github-actions/setup-gcloud@v0
9696
with:
9797
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
9898

.github/workflows/deploy-appengine-it.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16-
- uses: google-github-actions/setup-gcloud@main
16+
- uses: google-github-actions/setup-gcloud@v0
1717
with:
1818
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
1919
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ubuntu-latest
7070
steps:
7171
- uses: actions/checkout@v3
72-
- uses: google-github-actions/setup-gcloud@main
72+
- uses: google-github-actions/setup-gcloud@v0
7373
with:
7474
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
7575
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
@@ -125,7 +125,7 @@ jobs:
125125
runs-on: ubuntu-latest
126126
steps:
127127
- uses: actions/checkout@v3
128-
- uses: google-github-actions/setup-gcloud@main
128+
- uses: google-github-actions/setup-gcloud@v0
129129
with:
130130
project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }}
131131
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

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

1919
import {
20+
error as logError,
2021
getInput,
2122
exportVariable,
2223
info as logInfo,
@@ -65,6 +66,17 @@ export function setUrlOutput(output: string): string | undefined {
6566
* primary entry point. It is documented inline.
6667
*/
6768
export async function run(): Promise<void> {
69+
// v0 is deprecated and is no longer supported per our "two major versions"
70+
// policy.
71+
logError(
72+
`The v0 series of google-github-actions/deploy-appengine is no longer ` +
73+
`maintained. It will not receive updates, improvements, or security ` +
74+
`patches. Please upgrade to the latest supported versions: ` +
75+
`\n` +
76+
`\n` +
77+
` https://github.com/google-github-actions/deploy-appengine`,
78+
);
79+
6880
try {
6981
// Register metrics
7082
exportVariable(GCLOUD_METRICS_ENV_VAR, GCLOUD_METRICS_LABEL);

0 commit comments

Comments
 (0)