When there is a nupkg folder, the following error occurs.
Error: EISDIR: illegal operation on a directory, unlink 'nupkg'
at Object.unlinkSync (fs.js:1035:3)
at /home/runner/work/_actions/brandedoutcast/publish-nuget/v2.5.0/index.js:58:81
at Array.forEach (<anonymous>)
at Action._pushPackage (/home/runner/work/_actions/brandedoutcast/publish-nuget/v2.5.0/index.js:58:64)
at IncomingMessage.<anonymous> (/home/runner/work/_actions/brandedoutcast/publish-nuget/v2.5.0/index.js:109:30)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1184:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -21,
syscall: 'unlink',
code: 'EISDIR',
path: 'nupkg'
When there is a nupkg folder, the following error occurs.
Error occurs at: https://github.com/brandedoutcast/publish-nuget/blob/master/index.js#L58
Maybe to skip deleting the folders, or delete the folders by other operation?