Debian Codegraph @

.github/workflows/deploy_pypi.yml

raw symbols SCIP
1 name: Release to PyPI
2
3 on:
4 push:
5 tags:
6 - '*'
7
8 jobs:
9 deploy:
10 name: Deploy package to PYPI
11 runs-on: ubuntu-latest
12 strategy:
13 matrix:
14 python-version: ['3.11']
15 steps:
16 - uses: actions/checkout@v3
17 with:
18 fetch-depth: 0
19 - name: Set up Python
20 uses: actions/setup-python@v4
21 with:
22 python-version: ${{ matrix.python-version }}
23 - name: Run build
24 run: pipx run build --sdist --wheel
25 - name: publish
26 env:
27 TWINE_USERNAME: __token__
28 TWINE_PASSWORD: ${{ secrets.PYPI_PWD }}
29 run: |
30 pipx install twine
31 twine upload --skip-existing dist/*