From af585f5210988799729d139a2a088493ab3a41b0 Mon Sep 17 00:00:00 2001 From: Andrew Starr-Bochicchio Date: Fri, 29 Apr 2022 15:12:24 -0400 Subject: [PATCH] Bump fallback version to most recent release. --- dist/index.js | 4 ++-- main.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 2e2412f..b479950 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5361,7 +5361,7 @@ const tc = __webpack_require__(533); const { Octokit } = __webpack_require__(889); const baseDownloadURL = "https://github.com/digitalocean/doctl/releases/download" -const fallbackVersion = "1.42.0" +const fallbackVersion = "1.73.1" const octokit = new Octokit(); async function downloadDoctl(version) { @@ -5378,7 +5378,7 @@ async function downloadDoctl(version) { } async function run() { - try { + try { var version = core.getInput('version'); if ((!version) || (version.toLowerCase() === 'latest')) { version = await octokit.repos.getLatestRelease({ diff --git a/main.js b/main.js index 18ef2ad..6332552 100644 --- a/main.js +++ b/main.js @@ -4,7 +4,7 @@ const tc = require('@actions/tool-cache'); const { Octokit } = require("@octokit/rest"); const baseDownloadURL = "https://github.com/digitalocean/doctl/releases/download" -const fallbackVersion = "1.42.0" +const fallbackVersion = "1.73.1" const octokit = new Octokit(); async function downloadDoctl(version) { @@ -21,7 +21,7 @@ async function downloadDoctl(version) { } async function run() { - try { + try { var version = core.getInput('version'); if ((!version) || (version.toLowerCase() === 'latest')) { version = await octokit.repos.getLatestRelease({