Test with deploy-pypi
books / flake8 (push) Successful in 32s Details
books / docker (push) Successful in 29s Details
books / pypi (push) Failing after 41s Details

This commit is contained in:
Michel Roux 2023-06-30 17:02:51 +02:00
parent 4cdcc84ad8
commit f3e9fac73a
1 changed files with 2 additions and 5 deletions

View File

@ -38,14 +38,11 @@ jobs:
runs-on: ubuntu-latest
container: python
needs: [lint]
if: ${{ gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags') }}
steps:
- run: apt-get update
- run: apt-get install -y git nodejs
- uses: actions/checkout@v3
- run: pip install build
- run: python -m build
- run: ls -laR dist
- uses: pypa/gh-action-pypi-publish@release/v1
- uses: casperdcl/deploy-pypi@v2
with:
password: ${{ secrets.PYPI_API_TOKEN }}
upload: ${{ gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags') }}