mirror of
https://codeberg.org/actions/setup-go.git
synced 2024-01-07 17:16:05 +00:00
log version-spec
This commit is contained in:
parent
21459d0b7b
commit
de201a09c0
1
dist/setup/index.js
vendored
1
dist/setup/index.js
vendored
|
@ -63605,6 +63605,7 @@ function run() {
|
||||||
if (cache && cache_utils_1.isCacheFeatureAvailable()) {
|
if (cache && cache_utils_1.isCacheFeatureAvailable()) {
|
||||||
const packageManager = 'default';
|
const packageManager = 'default';
|
||||||
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
||||||
|
core.info(`Version spec is ${versionSpec}`);
|
||||||
yield cache_restore_1.restoreCache(versionSpec, packageManager, cacheDependencyPath);
|
yield cache_restore_1.restoreCache(versionSpec, packageManager, cacheDependencyPath);
|
||||||
}
|
}
|
||||||
// add problem matchers
|
// add problem matchers
|
||||||
|
|
|
@ -59,6 +59,7 @@ export async function run() {
|
||||||
if (cache && isCacheFeatureAvailable()) {
|
if (cache && isCacheFeatureAvailable()) {
|
||||||
const packageManager = 'default';
|
const packageManager = 'default';
|
||||||
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
||||||
|
core.info(`Version spec is ${versionSpec}`)
|
||||||
await restoreCache(versionSpec, packageManager, cacheDependencyPath);
|
await restoreCache(versionSpec, packageManager, cacheDependencyPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue