File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 - ' c/Make*'
2121 - ' c/*.mk'
2222 - ' c/**/*.[ch]p?p?'
23- # Manual run
24- workflow_dispatch :
2523 release :
2624 types :
2725 - published
26+ # Manual run
27+ workflow_dispatch :
2828
2929concurrency :
3030 group : ${{ github.workflow }}-${{ github.ref }}
@@ -244,7 +244,7 @@ jobs:
244244 url : https://pypi.org/p/moocore
245245 permissions :
246246 id-token : write
247- if : github.event_name == 'release' && github.event.action == 'published' && startsWith(github.ref, 'refs/tags/v')
247+ if : ${{ github.event_name == 'release' && github.event.action == 'published' && startsWith(github.ref, 'refs/tags/v') }}
248248 # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
249249 # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
250250 steps :
@@ -266,7 +266,7 @@ jobs:
266266 upload :
267267 name : Store wheels
268268 needs : wheels
269- if : github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
269+ if : ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
270270 runs-on : ubuntu-latest
271271 permissions :
272272 contents : write
You can’t perform that action at this time.
0 commit comments