Skip to content

Commit 27f582c

Browse files
committed
Try to use twine instead of release action
1 parent d79ee5d commit 27f582c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ jobs:
3636
run: make set-version
3737
- name: Build binary wheel and source tarball
3838
run: make dist
39-
- name: Publish package
40-
uses: pypa/gh-action-pypi-publish@release/v1
41-
with:
42-
user: __token__
43-
password: ${{ secrets.PYPI_TOKEN }}
39+
- name: Install publish dependencies
40+
run: python -m pip install twine~=5.1
41+
- name: Push to pypi
42+
run: |
43+
export TWINE_USERNAME=__token__
44+
export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }}
45+
python -m twine upload dist/storey-*.whl

0 commit comments

Comments
 (0)