Skip to content

Commit

Permalink
Merge pull request #26 from ecmwf/hotfix/pypi_fix
Browse files Browse the repository at this point in the history
instead of username/password, actions will now use pypi token
  • Loading branch information
sametd authored Jan 10, 2024
2 parents a6d367c + f03faac commit e213341
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ jobs:
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
twine upload dist/* --verbose

0 comments on commit e213341

Please sign in to comment.