Skip to content

Commit dba0c99

Browse files
committed
Change publish to pypi mechanism
1 parent f69ca62 commit dba0c99

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
@@ -40,8 +40,10 @@ jobs:
4040
run: make set-version
4141
- name: Build binary wheel and source tarball
4242
run: make dist
43-
- name: Publish package
44-
uses: pypa/gh-action-pypi-publish@release/v1.11
45-
with:
46-
user: __token__
47-
password: ${{ secrets.PYPI_TOKEN }}
43+
- name: Install publish dependencies
44+
run: python -m pip install twine~=6.1
45+
- name: Push to pypi
46+
run: |
47+
export TWINE_USERNAME=__token__
48+
export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }}
49+
python -m twine upload dist/storey-*.whl

0 commit comments

Comments
 (0)