mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-08 00:37:27 +00:00
Don't force the directory to exist/into PATH
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
parent
4d413e5432
commit
5e50217ad5
1 changed files with 0 additions and 6 deletions
6
index.js
6
index.js
|
|
@ -17,12 +17,6 @@ async function downloadRelease(octokit, os, org, repo, release, token) {
|
|||
const extract = os === "windows" ? "tar -xvf" : "tar -xvzf";
|
||||
const archive = `${tempdir}gotestfmt${postfix}`;
|
||||
|
||||
if (os === "windows") {
|
||||
// Ensure the that the install target exists
|
||||
fs.mkdirSync(binpath, { recursive: true })
|
||||
core.addPath(binpath);
|
||||
}
|
||||
|
||||
// Search through the latest release assets for an install canidate
|
||||
for (let asset of releaseAssets.data) {
|
||||
// Check if the asset name matches the determined postfix
|
||||
|
|
|
|||
Loading…
Reference in a new issue