From 3211359c8bac8d2956797dc5b4d64306468e633d Mon Sep 17 00:00:00 2001 From: James Cuzella Date: Sun, 22 Oct 2023 18:37:50 -0600 Subject: [PATCH] Update references to: `doctl app spec validate-offline` Implemented in: digitalocean/doctl#1450 --- README.md | 2 +- dist/index.js | 2 +- main.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b5898bc..9735527 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ See [this repository](https://github.com/do-community/example-doctl-action) for - `token` – (**Required**) A DigitalOcean personal access token ([more info](https://docs.digitalocean.com/reference/api/create-personal-access-token/)). - `version` – (Optional) The version of `doctl` to install. If excluded, the latest release will be used. - `no_auth` – (Optional) Set to `true` to skip the authentication step. The API `token` parameter is _Optional_ in this case. - - _Note:_ This can be useful when running in workflows in untrusted environments, or where auth isn't necessary (e.g. `doctl app spec validate`) + - _Note:_ This can be useful when running in workflows in untrusted environments, or where auth isn't necessary (e.g. `doctl app spec validate-offline`) ## Contributing diff --git a/dist/index.js b/dist/index.js index 1d4a059..fdf15d7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -17539,7 +17539,7 @@ Failed to retrieve latest version; falling back to: ${fallbackVersion}`); core.info(`>>> doctl version v${version} installed to ${path}`); // Skip authentication if requested - // for workflows where auth isn't necessary (e.g. doctl app spec validate) + // for workflows where auth isn't necessary (e.g. doctl app spec validate-offline) var no_auth = core.getInput('no_auth'); if (no_auth.toLowerCase() === 'true') { core.info('>>> Skipping doctl auth'); diff --git a/main.js b/main.js index 5c97d9e..2ffa1bd 100644 --- a/main.js +++ b/main.js @@ -82,7 +82,7 @@ Failed to retrieve latest version; falling back to: ${fallbackVersion}`); core.info(`>>> doctl version v${version} installed to ${path}`); // Skip authentication if requested - // for workflows where auth isn't necessary (e.g. doctl app spec validate) + // for workflows where auth isn't necessary (e.g. doctl app spec validate-offline) var no_auth = core.getInput('no_auth'); if (no_auth.toLowerCase() === 'true') { core.info('>>> Skipping doctl auth');