We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 362e2a2 + 78d7b76 commit de9c5fcCopy full SHA for de9c5fc
.github/workflows/python-publish.yml
@@ -21,16 +21,13 @@ jobs:
21
python-version: '3.11'
22
23
- name: Install Hatch 🐣
24
- run: pip install --upgrade pip "hatch==1.7.0"
+ run: pip install --upgrade pip setuptools wheel twine "hatch==1.7.0"
25
26
- name: Build 🔨
27
run: hatch build
28
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
+ - name: 🚀 Publish
+ env:
+ TWINE_USERNAME: __token__
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ run: twine upload dist/*
0 commit comments