Debian Codegraph @

.github/workflows/manual.yml

raw symbols SCIP
1 name: Manual Python Package Upload
2
3 on:
4 workflow_dispatch:
5 inputs:
6 name:
7 description: 'Manually starting package upload'
8
9 jobs:
10 deploy:
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v4
14 - name: Set up Python
15 uses: actions/setup-python@v5
16 with:
17 python-version: '3.x'
18 - name: Install dependencies
19 run: |
20 python -m pip install --upgrade pip
21 pip install setuptools wheel twine
22 - name: Build and publish
23 env:
24 TWINE_USERNAME: __token__
25 TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
26 run: |
27 python setup.py sdist bdist_wheel
28 twine upload dist/*