File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 6060 needs : [test, lint]
6161
6262 steps :
63- - uses : actions/checkout@v3
63+ - uses : actions/checkout@v4
6464 with :
6565 # You must set fetch-depth to 0 when using actions/checkout@v2, since
6666 # Python Semantic Release needs access to the full history to
7070 - run : pip install packaging
7171
7272 - name : Python Semantic Release
73+ id : release
7374 uses :
python-semantic-release/[email protected] 7475 with :
7576 github_token : ${{ secrets.GITHUB_TOKEN }}
77+
78+ - name : Publish package distributions to PyPI
79+ uses : pypa/gh-action-pypi-publish@release/v1
80+ # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
81+ # See https://github.com/actions/runner/issues/1173
82+ if : steps.release.outputs.released == 'true'
83+
84+ - name : Publish package distributions to GitHub Releases
85+ uses :
python-semantic-release/[email protected] 86+ if : steps.release.outputs.released == 'true'
87+ with :
88+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments