mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-18 13:41:47 +00:00
Make postfix constant
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
parent
026aad37c7
commit
5ffc60a1a3
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -10,7 +10,7 @@ async function downloadRelease(octokit, os, org, repo, release, token) {
|
||||||
release_id: release.id,
|
release_id: release.id,
|
||||||
})
|
})
|
||||||
|
|
||||||
postfix = `_${os}_amd64.${os === "windows" ? "zip" : "tar.gz"}`;
|
const postfix = `_${os}_amd64.${os === "windows" ? "zip" : "tar.gz"}`;
|
||||||
|
|
||||||
for (let asset of releaseAssets.data) {
|
for (let asset of releaseAssets.data) {
|
||||||
console.log("Examining release asset " + asset.name + " at " + asset.browser_download_url + " ...")
|
console.log("Examining release asset " + asset.name + " at " + asset.browser_download_url + " ...")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue