File tree Expand file tree Collapse file tree 2 files changed +24
-39
lines changed
Expand file tree Collapse file tree 2 files changed +24
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3737 deploy_key : ${{ github.event_name == 'release' && secrets.ACTIONS_DOCUMENTATION_DEPLOY_KEY || '' }}
3838
3939 pypi :
40+ name : Publish package to PyPI
41+ runs-on : ubuntu-latest
4042 if : success() && github.event_name == 'release'
4143 needs : [lint, test, docs]
42- uses : ./.github/workflows/_publish-pypi.yml
4344 permissions :
4445 id-token : write
46+
47+ steps :
48+ - uses : actions/checkout@v3
49+ with :
50+ fetch-depth : 0
51+
52+ - name : Set up Python
53+ uses : actions/setup-python@v4
54+ with :
55+ python-version : ' 3.x'
56+
57+ - name : Build package
58+ run : |
59+ set -vxeuo pipefail
60+ python -m pip install --upgrade pip
61+ pip install build
62+ python -m build
63+
64+ - name : Publish wheels to PyPI
65+ uses : pypa/gh-action-pypi-publish@release/v1
66+ with :
67+ packages-dir : ./dist/
You can’t perform that action at this time.
0 commit comments