Skip to content

Commit

Permalink
chore: trigger CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Tchoupinax committed Nov 24, 2024
1 parent a93d750 commit 76d6b42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/download-binary.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { info } from "@actions/core";
import { downloadTool, extractTar } from "@actions/tool-cache";

export async function downloadFile(version: string): Promise<string> {
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;
Expand Down

0 comments on commit 76d6b42

Please sign in to comment.