Skip to content

Commit de9c5fc

Browse files
authored
Merge pull request #27 from mts-ai/fix-publish-back-to-twine
fix publish (back to twine)
2 parents 362e2a2 + 78d7b76 commit de9c5fc

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/python-publish.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,13 @@ jobs:
2121
python-version: '3.11'
2222

2323
- name: Install Hatch 🐣
24-
run: pip install --upgrade pip "hatch==1.7.0"
24+
run: pip install --upgrade pip setuptools wheel twine "hatch==1.7.0"
2525

2626
- name: Build 🔨
2727
run: hatch build
2828

29-
- name: Publish package 🚀
30-
uses: pypa/gh-action-pypi-publish@v1.8.6
31-
with:
32-
repository-url: https://pypi.org/project/FastAPI-JSONAPI/
33-
password: ${{ secrets.PYPI_PASSWORD }}
34-
35-
# fail loudly on duplicates
36-
# skip-existing: true
29+
- name: 🚀 Publish
30+
env:
31+
TWINE_USERNAME: __token__
32+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
33+
run: twine upload dist/*

0 commit comments

Comments
 (0)