Skip to content

Commit 52df92c

Browse files
committed
activate sdist upload from gh actions
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
1 parent 80ea76c commit 52df92c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/sdist.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,12 @@ jobs:
2424
- name: Run tests
2525
run: |
2626
pytest -v --color=yes
27+
- name: Upload dist
28+
if: startsWith(github.ref, 'refs/tags/')
29+
env:
30+
TWINE_NON_INTERACTIVE: true
31+
TWINE_USERNAME: __token__
32+
TWINE_PASSWORD: ${{ secrets.pypi_token }}
33+
run: |
34+
pip install twine
35+
twine upload dist/xmlsec-*.tar.gz

0 commit comments

Comments
 (0)