From 8133d8a6e08d8a94e0a0f0fca1e7b7ff2473e8d2 Mon Sep 17 00:00:00 2001 From: soul-walker Date: Tue, 12 Mar 2024 23:04:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9go=20bin=E7=9B=AE=E5=BD=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.js | Bin 1063459 -> 1063465 bytes dist/index.js.map | Bin 1233106 -> 1233112 bytes package.json | 2 +- src/main.ts | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6d51bcd5edfbc5acffad3c36feee6d25754d44d6..03902ef94358ced0642af9484a5a73a474dbaf14 100644 GIT binary patch delta 49 zcmZ4d#bMF7M2#)7Pc1l7LFFq7OocV7M>Q~7QQX~Tq(@y`Rd!*Q}|`B F0RX(85Gnuw delta 45 zcmZ4a#bNOmhlUo$7N!>F7M2#)7Pc1l7LFFq7OocV7M>Q~7QQX~Tq)ZHQurmW0RVt@ B4=?}# diff --git a/dist/index.js.map b/dist/index.js.map index 60414e1275bc73996bc965f37d1cc8a96c811c4f..146410ea3e7d9ba733c85d91864803ebaf6f4094 100644 GIT binary patch delta 53 zcmcb#(EG+h?}iq}7N!>F7M2#)7Pc1l7LFFq7OocV7M>Q~7QPn#7J(MQDMHJc)AQB0 JE)mkZ008_B5*7de delta 49 zcmcby(EHLt?}iq}7N!>F7M2#)7Pc1l7LFFq7OocV7M>Q~7QPn#7J(MQDMHJ)t`*Y0 F006o~5gY&j diff --git a/package.json b/package.json index 1bf23fb..cbd762e 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt", "package:watch": "npm run package -- --watch", "test": "npx jest", - "all": "npm run format:write && npm run lint && npm run coverage && npm run package", + "all": "npm run format:write && npm run lint && npm run package", "all-all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package" }, "license": "MIT", diff --git a/src/main.ts b/src/main.ts index faa20b4..8f8d801 100644 --- a/src/main.ts +++ b/src/main.ts @@ -23,7 +23,7 @@ export async function run(): Promise { } const installedPath = await getInstalledGoPath(version, arch) - const binPath = path.join(installedPath, 'bin') + const binPath = path.join(installedPath, 'go', 'bin') getFiles(binPath) // Set outputs for other workflow steps to use