diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 33ec9df8..1dfa81c4 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -119,7 +119,7 @@ jobs: - name: 'npm build' run: 'npm ci && npm run build' - - uses: 'google-github-actions/setup-gcloud@master' + - uses: 'google-github-actions/setup-gcloud@main' with: service_account_email: '${{ secrets.DEPLOY_CF_SA_EMAIL }}' service_account_key: '${{ secrets.DEPLOY_CF_SA_KEY_JSON }}' diff --git a/src/main.ts b/src/main.ts index 1efa4792..7ec8b9ac 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,6 +17,7 @@ import { posix } from 'path'; import { + error as logError, getBooleanInput, getInput, info as logInfo, @@ -44,6 +45,17 @@ import { import { SecretName } from './secret'; async function run(): Promise { + // v0 is deprecated and is no longer supported per our "two major versions" + // policy. + logError( + `The v0 series of google-github-actions/deploy-cloud-functions is no ` + + `longer maintained. It will not receive updates, improvements, or ` + + `security patches. Please upgrade to the latest supported versions: ` + + `\n` + + `\n` + + ` https://github.com/google-github-actions/deploy-cloud-functions`, + ); + try { // Get inputs const name = getInput('name', { required: true });