File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish to PyPI
22
33on :
4- release :
5- types : [published]
6- workflow_dispatch :
4+ release :
5+ types : [published]
6+ workflow_dispatch :
77
88jobs :
9- build-and-publish :
10- runs-on : ubuntu-latest
11- steps :
12- - name : Checkout source
13- uses : actions/checkout@v4
9+ build-and-publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout source
13+ uses : actions/checkout@v4
1414
15- - name : Set up Python
16- uses : actions/setup-python@v5
17- with :
18- python-version : " 3.11"
15+ - name : Set up Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.11"
1919
20- - name : Install build tooling
21- run : |
22- python -m pip install --upgrade pip
23- pip install build
20+ - name : Install build tooling
21+ run : |
22+ python -m pip install --upgrade pip
23+ pip install build
2424
25- - name : Build distribution artifacts
26- run : python -m build
25+ - name : Build distribution artifacts
26+ run : python -m build
2727
28- - name : Publish package to PyPI
29- uses : pypa/gh-action-pypi-publish@release/v1
30- with :
31- user : __token__
32- password : ${{ secrets.PYPI_API_TOKEN }}
28+ - name : Publish package to PyPI
29+ uses : pypa/gh-action-pypi-publish@release/v1
30+ with :
31+ user : __token__
32+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments