log version-spec

This commit is contained in:
Evgenii Korolevskii 2023-01-20 01:21:36 +01:00
parent 21459d0b7b
commit de201a09c0
2 changed files with 2 additions and 0 deletions

1
dist/setup/index.js vendored
View file

@ -63605,6 +63605,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}`);
yield cache_restore_1.restoreCache(versionSpec, packageManager, cacheDependencyPath);
}
// add problem matchers

View file

@ -59,6 +59,7 @@ export async function run() {
if (cache && isCacheFeatureAvailable()) {
const packageManager = 'default';
const cacheDependencyPath = core.getInput('cache-dependency-path');
core.info(`Version spec is ${versionSpec}`)
await restoreCache(versionSpec, packageManager, cacheDependencyPath);
}