- commit
- a989df12dc25fee625e2ba79819f60463afe2fb7
- parent
- 5dfd9a52939a44723e04034cb9edb0f534804b30
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-06-16 14:52
github actions: publish to pypi automatically see https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
Diffstat
| M | .github/workflows/main.yml | 13 | +++++++++++++ |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
@@ -30,3 +30,16 @@ jobs: 30 30 run: | 31 31 coverage run -m tests.manage test 32 32 coverage report -1 33 publish: -1 34 needs: [lint, test] -1 35 if: startsWith(github.ref, 'refs/tags') -1 36 runs-on: ubuntu-latest -1 37 steps: -1 38 - uses: actions/checkout@v3 -1 39 - uses: actions/setup-python@v4 -1 40 - name: build -1 41 run: python3 setup.py bdist_wheel sdist -1 42 - name: publish -1 43 uses: pypa/gh-action-pypi-publish@release/v1 -1 44 with: -1 45 password: ${{ secrets.PYPI_API_TOKEN }}