This commit is contained in:
Antoine Toulme 2025-09-04 10:41:25 -07:00 committed by GitHub
commit 86c76e63e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -18,7 +18,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) {