Debian Codegraph @

.github/workflows/publish.yml

raw symbols SCIP
1 name: Build and publish to PyPI
2
3 on:
4 push:
5 tags:
6 - '*'
7
8 jobs:
9 publish:
10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/checkout@v3
13
14 - uses: actions/setup-python@v4
15 with:
16 python-version: '3.x'
17
18 - name: Install dependencies
19 run: python -m pip install build
20
21 - name: Build package
22 run: python -m build
23
24 - name: Publish to PyPI
25 uses: pypa/gh-action-pypi-publish@release/v1
26 with:
27 password: ${{ secrets.PYPI_API_TOKEN }}