Skip to content

Commit df54020

Browse files
committed
Use more descriptive ?source query parameter
Note that the documentation for community mirrors on the Zig website states that I use this one; I meant to update to it when I migrated, because mirrors may now want to differentiate between this Action and competing ones in their statistics.
1 parent 5eb0fc8 commit df54020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ const CANONICAL = 'https://ziglang.org/builds';
1717
const MIRRORS_URL = 'https://ziglang.org/download/community-mirrors.txt';
1818

1919
async function downloadFromMirror(mirror, tarball_filename) {
20-
const tarball_path = await tc.downloadTool(`${mirror}/${tarball_filename}?source=github-actions`);
20+
const tarball_path = await tc.downloadTool(`${mirror}/${tarball_filename}?source=github-mlugg-setup-zig`);
2121

22-
const signature_response = await fetch(`${mirror}/${tarball_filename}.minisig?source=github-actions`);
22+
const signature_response = await fetch(`${mirror}/${tarball_filename}.minisig?source=github-mlugg-setup-zig`);
2323
const signature_data = Buffer.from(await signature_response.arrayBuffer());
2424

2525
const tarball_data = await fs.readFile(tarball_path);

0 commit comments

Comments
 (0)