Skip to content

Commit 024f50e

Browse files
Fix order and working dir
1 parent 383a865 commit 024f50e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ jobs:
3333
pip install --upgrade pip
3434
pip install build twine hatch
3535
36-
- name: upgrade version with hatch
37-
run: hatch version ${{ env.VERSION }}
38-
3936
- name: configure git with the bot credentials
4037
run: |
4138
mkdir -p ~/.ssh
@@ -78,17 +75,19 @@ jobs:
7875
env:
7976
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
8077
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
81-
run: |
82-
python -m build
78+
run: python -m build
79+
working-directory: ./nextmv-py
8380

8481
- name: publish to TestPyPI
8582
env:
8683
TWINE_USERNAME: ${{ secrets.TESTPYPI_USERNAME }}
8784
TWINE_PASSWORD: ${{ secrets.TESTPYPI_PASSWORD }}
8885
run: twine upload --repository testpypi dist/*
86+
working-directory: ./nextmv-py
8987

9088
- name: publish to PyPI
9189
env:
9290
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
9391
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
9492
run: twine upload dist/*
93+
working-directory: ./nextmv-py

0 commit comments

Comments
 (0)