From 024f50e3d0eb991af2f5baefe1b7fc2ad7203602 Mon Sep 17 00:00:00 2001 From: Sebastian Quintero Date: Tue, 2 Jan 2024 17:29:27 -0500 Subject: [PATCH] Fix order and working dir --- .github/workflows/publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8e4b271..29bba66 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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