Skip to content

Commit

Permalink
Fix order and working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-quintero committed Jan 2, 2024
1 parent 383a865 commit 024f50e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jobs:
pip install --upgrade pip
pip install build twine hatch
- name: upgrade version with hatch
run: hatch version ${{ env.VERSION }}

- name: configure git with the bot credentials
run: |
mkdir -p ~/.ssh
Expand Down Expand Up @@ -78,17 +75,19 @@ jobs:
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build
run: python -m build
working-directory: ./nextmv-py

- name: publish to TestPyPI
env:
TWINE_USERNAME: ${{ secrets.TESTPYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TESTPYPI_PASSWORD }}
run: twine upload --repository testpypi dist/*
working-directory: ./nextmv-py

- name: publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*
working-directory: ./nextmv-py

0 comments on commit 024f50e

Please sign in to comment.