File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ permissions:
1616 contents : read
1717
1818jobs :
19- deploy :
19+ build-n-publish :
2020
2121 runs-on : ubuntu-latest
2222
@@ -27,14 +27,13 @@ jobs:
2727 with :
2828 python-version : ' 3.x'
2929 fetch-depth : 0
30- - name : Install dependencies
30+ - name : Build the project
3131 run : |
32- python -m pip install --upgrade pip
33- pip install build
34- - name : Build package
35- run : python -m build
32+ python -m pip install --upgrade build pip twine
33+ python -m build
34+ twine check --strict dist/*
3635 - name : Publish package
37- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
36+ uses : pypa/gh-action-pypi-publish@master
3837 with :
3938 user : __token__
4039 password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments