Skip to content

Commit c8fe313

Browse files
committed
Fix upload to PyPI of the wheel artefact
1 parent 27f599a commit c8fe313

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/releaser.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,16 @@ jobs:
4949
steps:
5050
- uses: actions/checkout@v3
5151

52+
- name: "Download Release Asset - HTML"
53+
uses: dsaltares/[email protected]
54+
with:
55+
file: ansys_dpf_core-0.6.0-py3-none-any.whl
56+
token: ${{ secrets.GITHUB_TOKEN }}
57+
5258
- name: "Upload to Public PyPi"
5359
run: |
5460
pip install twine
55-
python setup.py sdist
56-
twine upload --skip-existing dist/*
61+
twine upload ansys_dpf_core-0.6.0-py3-none-any.whl
5762
env:
5863
TWINE_USERNAME: __token__
5964
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)