When creating a release the following 3 event types are triggered:
'create'
'released' or 'prereleased'
'publish'
Trying to upload multiple packages with the same version will lead to an error. To ensure the package is uploaded exactly once we will trigger on 'publish'.
When creating a release the following 3 event types are triggered:
Trying to upload multiple packages with the same version will lead to an error. To ensure the package is uploaded exactly once we will trigger on 'publish'.
See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release for details.