-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI upload; seems to run twice #28
Comments
could it be related to the matrix, having an additional dimension; https://github.com/lunarmodules/lualogging/blob/master/.github/workflows/test.yml#L12 ? |
No it has to do with the way Git pushes trigger workflow runs. The same commit was pushed twice, once as HEAD to the I'll look into how to resolve that so deploys don't get triggered twice, but off the top of my head it isn't obvious how. It might be a matter of just checking whether it has run before and skipping if so. |
maybe force the upload? would that have negative consequences? |
The only negatives I can think of is that the LuaRocks interface would always show "force pushed" for all releases without any good reason for that to have happened, something distro packagers at least don't like to see. Also it seems like it would be at more danger of creating race conditions than just failing like it is now if already done. I think I'd rather poke around and try to find a viable way of not running it at all. |
@alerque see this https://github.com/lunarmodules/lualogging/actions/runs/4027578652/jobs/6923487713
Is there any reason this would run twice? I cannot find the job that succeeded, only the one that failed. But the error is that the rock was already there...
Any ideas?
The text was updated successfully, but these errors were encountered: