Skip to content

Commit

Permalink
Remove twine upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sergii-mamedov committed Feb 7, 2024
1 parent 6ba7cb9 commit 5b85a59
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
name: Create and publish package to PyPI
runs-on: ubuntu-latest

# environment:
# name: pypi
# url: https://pypi.org/p/metaspace
environment:
name: pypi
url: https://pypi.org/p/metaspace

steps:
- name: Checkout repository
Expand All @@ -29,11 +29,8 @@ jobs:
working-directory: ./metaspace/python-client
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish package on PyPI
uses: pypa/[email protected].11
uses: pypa/[email protected].10
with:
user: __token__
password: ${{ secrets.PYTHON_CLIENT_PYPI_API_TOKEN }}
verbose: true

0 comments on commit 5b85a59

Please sign in to comment.