Closed futurelucas4502 closed 4 years ago
Obvious not a huge issue if you set up what branches to use however it could be useful to provide some documentation on how to do that for newbies
That's the expected behavior, GitHub Actions executed your workflow once for the pushed commit and once for the pushed tag. This is not related to this action, have a look at the GitHub Actions docs if you'd like to configure your workflow differently.
To prevent the CI being from run twice you can add this to your workflow:
on:
push:
tags:
- v*
I believe this is because we are running
git push && git push --tags
resulting in the function being called twice: https://github.com/marketplace/actions/electron-builder-action#releasing (step 4)