mirror of
https://github.com/actions/setup-go.git
synced 2026-10-02 16:26:06 +03:00
try get path
This commit is contained in:
1 parent
de201a09c0
commit
2e7414f276
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -59,7 +59,8 @@ export async function run() {
|
||||
if (cache && isCacheFeatureAvailable()) {
|
||||
const packageManager = 'default';
|
||||
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
||||
core.info(`Version spec is ${versionSpec}`)
|
||||
let goPath = await io.which('go');
|
||||
core.info(`Version spec is ${versionSpec}, go path is ${goPath}`)
|
||||
await restoreCache(versionSpec, packageManager, cacheDependencyPath);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user