|
|
@ -63611,7 +63611,12 @@ 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');
|
|
|
|
yield cache_restore_1.restoreCache(parseGoVersion(goVersion), packageManager, cacheDependencyPath);
|
|
|
|
try {
|
|
|
|
|
|
|
|
yield cache_restore_1.restoreCache(parseGoVersion(goVersion), packageManager, cacheDependencyPath);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
catch (e) {
|
|
|
|
|
|
|
|
core.warning(`Restore cache failed: ${e.message}`);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// add problem matchers
|
|
|
|
// add problem matchers
|
|
|
|
const matchersPath = path_1.default.join(__dirname, '../..', 'matchers.json');
|
|
|
|
const matchersPath = path_1.default.join(__dirname, '../..', 'matchers.json');
|
|
|
|