Skip to content

Commit d083764

Browse files
committed
ci: fix dry-run in deploy.yml
1 parent b2f7e8a commit d083764

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ jobs:
1717
uses: deargen/workflows/.github/workflows/commit-changelog-and-release.yml@master
1818
with:
1919
version-tag: ${{ github.event.inputs.version-tag }}
20-
dry-run: ${{ github.event.inputs.dry-run == true }}
20+
dry-run: ${{ github.event.inputs.dry-run == 'true' }}
2121
changelog-path: docs/CHANGELOG.md
2222
exclude-types: build,docs,style,other
2323

2424
publish-to-pypi:
25+
if: ${{ github.event.inputs.dry-run == 'false' }}
26+
needs: commit-changelog-and-release
2527
runs-on: ubuntu-24.04
2628
steps:
2729
- name: Set up Python 3.11
28-
if: ${{ github.event.inputs.dry-run == 'false' }}
2930
uses: actions/setup-python@v4
3031
with:
3132
python-version: 3.11
3233

3334
- name: Build and upload to PyPI
34-
if: ${{ github.event.inputs.dry-run == 'false' }}
3535
run: |
3636
python -m pip install --upgrade pip
3737
pip3 install build twine

0 commit comments

Comments
 (0)