mirror of
https://github.com/actions/setup-go
synced 2024-12-22 14:22:41 +00:00
use actual version in key
This commit is contained in:
parent
89d7939d38
commit
65f50caf42
2 changed files with 2 additions and 4 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -63607,8 +63607,7 @@ function run() {
|
|||
if (cache && cache_utils_1.isCacheFeatureAvailable()) {
|
||||
const packageManager = 'default';
|
||||
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
||||
core.info(`Version spec is ${versionSpec}, go version is ${goVersion}`);
|
||||
yield cache_restore_1.restoreCache(goVersion, packageManager, cacheDependencyPath);
|
||||
yield cache_restore_1.restoreCache(parseGoVersion(goVersion), packageManager, cacheDependencyPath);
|
||||
}
|
||||
// add problem matchers
|
||||
const matchersPath = path_1.default.join(__dirname, '../..', 'matchers.json');
|
||||
|
|
|
@ -62,8 +62,7 @@ export async function run() {
|
|||
if (cache && isCacheFeatureAvailable()) {
|
||||
const packageManager = 'default';
|
||||
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
||||
core.info(`Version spec is ${versionSpec}, go version is ${goVersion}`)
|
||||
await restoreCache(goVersion, packageManager, cacheDependencyPath);
|
||||
await restoreCache(parseGoVersion(goVersion), packageManager, cacheDependencyPath);
|
||||
}
|
||||
|
||||
// add problem matchers
|
||||
|
|
Loading…
Reference in a new issue