Fix changes requests

pull/332/head
Sergey Dolin 2 years ago
parent 99b2e737de
commit fa1068afe0

@ -8,6 +8,15 @@ This action sets up a go environment for use in actions by:
- Optionally downloading and caching a version of Go by version and adding to `PATH`.
- Registering problem matchers for error output.
# V4
The V4 edition of the action offers:
- Enables caching by default
- Does not fail if caching fails for any reason
The action will try to enable caching unless the `cache` input explicitly set to false.
# V3
The V3 edition of the action offers:

@ -63617,8 +63617,8 @@ function run() {
try {
yield cache_restore_1.restoreCache(parseGoVersion(goVersion), packageManager, cacheDependencyPath);
}
catch (e) {
core.warning(`Restore cache failed: ${e.message}`);
catch (error) {
core.warning(`Restore cache failed: ${error.message}`);
}
}
// add problem matchers

@ -68,8 +68,8 @@ export async function run() {
packageManager,
cacheDependencyPath
);
} catch (e) {
core.warning(`Restore cache failed: ${e.message}`);
} catch (error) {
core.warning(`Restore cache failed: ${error.message}`);
}
}

Loading…
Cancel
Save