File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 build :
1414
15- runs-on : ubuntu-20.04
15+ runs-on : ubuntu-latest
1616 strategy :
1717 fail-fast : false
1818 matrix :
Original file line number Diff line number Diff line change 1212
1313 runs-on : ubuntu-latest
1414
15- environment : deployment
15+ environment :
16+ name : deployment
17+ url : https://pypi.org/project/profet/
18+
19+ permissions :
20+ id-token : write
1621
1722 steps :
1823 - uses : actions/checkout@v2
2631 run : |
2732 python -m pip install --upgrade pip
2833 pip install setuptools wheel twine
29- - name : Build and publish
30- env :
31- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
32- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
33- run : |
34- python setup.py sdist
35- twine upload dist/*
34+ - name : Build package
35+ run : python -m build --sdist
36+ - name : Publish package
37+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments