Skip to content

Commit

Permalink
Try to use twine instead of release action
Browse files Browse the repository at this point in the history
  • Loading branch information
gtopper committed Nov 18, 2024
1 parent d79ee5d commit 27f582c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ jobs:
run: make set-version
- name: Build binary wheel and source tarball
run: make dist
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- name: Install publish dependencies
run: python -m pip install twine~=5.1
- name: Push to pypi
run: |
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }}
python -m twine upload dist/storey-*.whl

0 comments on commit 27f582c

Please sign in to comment.