File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 pypi-publish :
1010 name : upload release to PyPI
1111 runs-on : ubuntu-latest
12- # Specifying a GitHub environment is optional, but strongly encouraged
1312 environment : pypi
1413 permissions :
15- # IMPORTANT: this permission is mandatory for Trusted Publishing
1614 id-token : write
1715 steps :
18- # retrieve your distributions here
16+ - name : Check out repository
17+ uses : actions/checkout@v3
18+
19+ - name : Set up Python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ' 3.x'
23+
24+ - name : Install build dependencies
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install build wheel
28+
29+ - name : Build package
30+ run : python -m build
1931
2032 - name : Publish package distributions to PyPI
2133 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ interactive_console_output.xml
2121
2222# python files
2323* .egg-info
24- * .tar.gz
2524venv /*
2625
2726# other
You can’t perform that action at this time.
0 commit comments