feat: support downloading the latest version automatically (#70)

This commit is contained in:
y-yagi
2022-10-12 01:11:00 +09:00
committed by GitHub
parent 5bbd04f5b6
commit ebf970dfe2
8 changed files with 90 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ async function run(): Promise<void> {
const version = core.getInput('version')
// Download the specific version of the tool, e.g. as a tarball/zipball
const download = getDownloadUrl(version)
const download = await getDownloadUrl(version)
const pathToTarball = await tc.downloadTool(download)
// Extract the tarball/zipball onto host runner