mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2024-12-25 03:55:52 +00:00
log version-spec
This commit is contained in:
parent
21459d0b7b
commit
de201a09c0
2 changed files with 2 additions and 0 deletions
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