Skip to content

Commit 4f28dc6

Browse files
committed
Restoring order to the CI/CD pipeline
1 parent f618547 commit 4f28dc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ jobs:
6262
uses: pypa/gh-action-pypi-publish@release/v1
6363
# NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
6464
# See https://github.com/actions/runner/issues/1173
65+
if: steps.release.outputs.released == 'true'
6566

6667
- name: Publish package distributions to GitHub Releases
6768
uses: python-semantic-release/upload-to-gh-release@main
69+
if: steps.release.outputs.released == 'true'
6870
with:
6971
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)