This repository was archived by the owner on Aug 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 permissions :
4646 id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
4747 contents : write # needed for github actions bot to write to repo
48+ outputs :
49+ is-released : ${{ steps.release.outputs.released }}
4850 steps :
4951 - name : Clone Repository
5052 uses : actions/checkout@v4
9294 id : rename_project
9395 run : make rename_project
9496
95- - name : Python Semantic Release
96- id : release
97- uses : python-semantic-release/python-semantic-release@v9.3.0
98- with :
99- github_token : ${{ secrets.GITHUB_TOKEN }}
100-
10197 - name : Publish package distributions to PyPI
10298 uses : pypa/gh-action-pypi-publish@release/v1
10399 # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
104100 # See https://github.com/actions/runner/issues/1173
105- if : steps.release .outputs.released == 'true'
101+ if : needs.publish .outputs.is- released == 'true'
You can’t perform that action at this time.
0 commit comments