- commit
- 137e0917fae804858f09560b55e4c945184914e1
- parent
- e1e20b88023b3a25c34ba0b576cc97503c8e0a3e
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-06-22 19:03
github actions: automatically publish to pypi
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
@@ -9,3 +9,16 @@ jobs: 9 9 - name: linters 10 10 run: | 11 11 ruff cplay.py -1 12 publish: -1 13 needs: [lint] -1 14 if: startsWith(github.ref, 'refs/tags') -1 15 runs-on: ubuntu-latest -1 16 steps: -1 17 - uses: actions/checkout@v3 -1 18 - uses: actions/setup-python@v4 -1 19 - name: build -1 20 run: python3 setup.py bdist_wheel sdist -1 21 - name: publish -1 22 uses: pypa/gh-action-pypi-publish@release/v1 -1 23 with: -1 24 password: ${{ secrets.PYPI_API_TOKEN }}