-
Add explicit `process.exit()` to avoid wait for hanging promises
Some checks failedreleased this
2024-01-17 09:01:46 +08:00 | 47 commits to main since this releaseWhen using the
@actions/cache
library to save cache entries, it seems that one
or more Promises remain unresolved after the save completes.
With Node20 this causes a delay when exiting the process: the default behaviour
now wait for these Promises to complete. Adding an explicitProcess.exit()
removes the delay, returning to the Node 16 behaviour.Fixes #1038
Downloads