diff --git a/src/download-binary.ts b/src/download-binary.ts index 6e0d716..947f6a9 100644 --- a/src/download-binary.ts +++ b/src/download-binary.ts @@ -1,7 +1,10 @@ +import { info } from "@actions/core"; import { downloadTool, extractTar } from "@actions/tool-cache"; export async function downloadFile(version: string): Promise { const binaryUrl = `https://github.com/iggy-rs/iggy/releases/download/server-${version}/Linux-x86_64.zip`; + info(`Binary downloaded from ${binaryUrl}`); + const pathToTarball = await downloadTool(binaryUrl); const pathToCLI = await extractTar(pathToTarball); return pathToCLI;