File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99
10- builds :
10+ upload :
1111 runs-on : ubuntu-latest
12+ permissions :
13+ id-token : write
1214
1315 steps :
14- - uses : actions/checkout@v3
15-
16- - name : Set up Python
17- uses : actions/setup-python@v4
18- with :
19- python-version : ' 3.10'
20-
21- - name : Install build
22- run : |
23- pip install --upgrade pip
24- pip install build
16+ - uses : actions/checkout@v3
2517
26- - run : python -m build .
27-
28- - uses : actions/upload-artifact@v3
29- with :
30- name : dist
31- path : ./dist/*
18+ - name : Set up Python
19+ uses : actions/setup-python@v4
20+ with :
21+ python-version : ' 3.12'
3222
33- upload :
34- needs : builds
35- runs-on : ubuntu-latest
23+ - name : Install build
24+ run : pip install build
3625
37- steps :
38- - name : Stage wheels
39- uses : actions/download-artifact@v3
40- with :
41- name : dist
42- path : dist
26+ - name : Create build
27+ run : python -m build
4328
44- - name : Publish package
29+ - name : Publish package distributions to PyPI
4530 uses : pypa/gh-action-pypi-publish@release/v1
46- with :
47- user : __token__
48- password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments