mirror of
https://code.forgejo.org/actions/setup-go
synced 2025-06-10 04:22:22 +02:00
try get path
This commit is contained in:
parent
de201a09c0
commit
2e7414f276
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue