Skip to content

Commit

Permalink
log version-spec
Browse files Browse the repository at this point in the history
  • Loading branch information
e-korolevskii committed Jan 20, 2023
1 parent 21459d0 commit de201a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit de201a0

Please sign in to comment.