mirror of
https://github.com/actions/setup-go.git
synced 2026-04-05 20:29:24 +00:00
Merge 65d092b907 into 4a3601121d
This commit is contained in:
commit
7d09b81994
2 changed files with 5 additions and 1 deletions
|
|
@ -19,7 +19,8 @@ process.on('uncaughtException', e => {
|
|||
export async function run(earlyExit?: boolean) {
|
||||
try {
|
||||
const cacheInput = core.getBooleanInput('cache');
|
||||
if (cacheInput) {
|
||||
const restoreOnly = core.getBooleanInput('restoreOnly');
|
||||
if (cacheInput && !restoreOnly) {
|
||||
await cachePackages();
|
||||
|
||||
if (earlyExit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue