use build
This commit is contained in:
parent
570d9da247
commit
8c4d133f9a
@ -36,9 +36,14 @@ jobs:
|
|||||||
|
|
||||||
pypi:
|
pypi:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: python
|
||||||
needs: [lint]
|
needs: [lint]
|
||||||
steps:
|
steps:
|
||||||
|
- run: apt-get update
|
||||||
|
- run: apt-get install -y git nodejs
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- run: pip install build
|
||||||
|
- run: python -m build
|
||||||
- uses: https://github.com/pypa/gh-action-pypi-publish@release/v1
|
- uses: https://github.com/pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
Reference in New Issue
Block a user