Skip to content

Commit

Permalink
Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Oct 16, 2024
1 parent e620780 commit 9e1d81b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,14 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: install flit
- name: install flit and twine
run: |
pip install flit~=3.0
pip install flit~=3.0 twine
- name: Build and publish
run: |
flit publish
flit build
twine check --strict dist/*
twine upload dist/*
env:
FLIT_USERNAME: __token__
FLIT_PASSWORD: ${{ secrets.PYPI_KEY }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 9e1d81b

Please sign in to comment.