Closed janosh closed 7 months ago
I am unclear of the bug. This runs the release porition only when the event is release and needs: test already specifies that it should run only when the tests pass. What is the bug?
github.event.name
doesn't exist. It's github.event_name
.
Email (Optional)
No response
Version
v0.8.6
Which OS(es) are you using?
What happened?
This doesn't look right. Skips the release step even when it shouldn't. You probably wan't
if: github.event_name == 'release' && needs.tests.result == 'success'
.https://github.com/materialsvirtuallab/matgl/blob/d9f266523983fdea0baeacc16dece83f447e5a14/.github/workflows/testing.yml#L51
Hence https://github.com/materialsvirtuallab/matgl/releases/tag/v0.8.6 didn't make it to PyPI.
Code snippet
No response
Log output
No response
Code of Conduct