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 51599dc + 36a66d9 commit 754023dCopy full SHA for 754023d
.github/workflows/publish.yml
@@ -25,15 +25,17 @@ jobs:
25
uses: actions/setup-python@v5
26
with:
27
python-version: 3.12
28
- - name: Install flit
+ - name: Install dependencies
29
run: |
30
- pip install flit
31
- - name: Publish the distibution to PyPI
32
- run: flit publish
33
- env:
34
- FLIT_INDEX_URL: https://upload.pypi.org/legacy/
35
- FLIT_USERNAME: __token__
36
- FLIT_PASSWORD: ${{ secrets. PYPI_API_TOKEN }}
+ python -m pip install --upgrade pip
+ pip install build
+ - name: Build package
+ run: python -m build
+ - name: Publish package
+ uses: pypa/gh-action-pypi-publish@v1
+ with:
37
+ user: __token__
38
+ password: ${{ secrets.PYPI_API_TOKEN }}
39
40
release:
41
name: Create release
0 commit comments