msys2 / setup-msys2

GitHub Action to setup MSYS2
https://github.com/marketplace/actions/setup-msys2
MIT License
296 stars 40 forks source link

Call process.exit() at the end to avoid node waiting #354

Closed lazka closed 9 months ago

lazka commented 9 months ago

Starting with the update to node20, in case we would call the GH cache upload functions the process would not exit right away, but stay around for 1-2 minutes doing nothing.

See https://github.com/actions/toolkit/issues/1578 for the upstream issue.

Work around by forcing node to exit.

Fixes #346