Skip to content

Commit

Permalink
Update publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
lvoliveira committed Nov 10, 2023
1 parent 8cded1a commit b3a58dc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
needs: build

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install wheel
Expand All @@ -59,8 +59,7 @@ jobs:
run: |
python setup.py sdist bdist_wheel
- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_token }}
Expand Down

0 comments on commit b3a58dc

Please sign in to comment.