Debian Codegraph @

.github/workflows/doxmlparser-publish.yml

raw
1 name: Upload Python Package
2
3 on:
4 release:
5 types: [published]
6
7 permissions:
8 contents: read
9
10 jobs:
11 deploy:
12 runs-on: ubuntu-latest
13
14 steps:
15 - uses: actions/checkout@v5
16 - name: Set up Python
17 uses: actions/setup-python@v6
18 with:
19 python-version: '3.x'
20
21 - name: Install dependencies
22 run: |
23 python -m pip install --upgrade pip
24 pip install build
25
26 - name: Build package
27 run: python -m build -w addon/doxmlparser/
28
29 - name: Publish package
30 uses: pypa/gh-action-pypi-publish@release/v1
31 with:
32 packages-dir: addon/doxmlparser/dist/
33 user: __token__
34 password: ${{ secrets.PYPI_API_TOKEN }}