Skip to content

Commit 1da88b1

Browse files
committed
Fix releaser.yml
1 parent 38dc3f4 commit 1da88b1

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/releaser.yml

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

52-
- name: "Get the version"
53-
id: get_version
54-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
55-
56-
- name: "Download Release Asset - whl and tar.gz"
57-
uses: robinraju/[email protected]
58-
with:
59-
tag: ${{ steps.get_version.outputs.VERSION }}
60-
fileName: "*.whl"
61-
tarBall: true
62-
token: ${{ secrets.GITHUB_TOKEN }}
63-
6452
- name: "Upload to Public PyPi"
6553
run: |
6654
pip install twine
67-
twine upload --skip-existing *.whl
68-
twine upload --skip-existing *.tar.gz
55+
python setup.py sdist
56+
twine upload --skip-existing dist/*
6957
env:
7058
TWINE_USERNAME: __token__
7159
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)