File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed
Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 9494 - run : uvx check-wheel-contents dist/*.whl
9595 - run : uvx check-manifest -v
9696
97- publish :
98- if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
97+ release_pypi :
98+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'WeblateOrg/siphashc'
99+ name : Publish release to PyPI
99100 needs :
100101 - check
101102 runs-on : ubuntu-24.04
@@ -113,5 +114,24 @@ jobs:
113114 version : 0.9.7
114115 - name : Publish package distributions to PyPI
115116 run : uv publish --trusted-publishing always
117+
118+ release_github :
119+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'WeblateOrg/siphashc'
120+ runs-on : ubuntu-24.04
121+ name : Create release on GitHub
122+ permissions :
123+ contents : write
124+ needs :
125+ - check
126+ steps :
127+ - uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
128+ with :
129+ name : dist
130+ path : dist
131+ - uses : ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
132+ with :
133+ generateReleaseNotes : true
134+ artifacts : dist/*
135+
116136permissions :
117137 contents : read
You can’t perform that action at this time.
0 commit comments