Skip to content

Commit

Permalink
ci: fix dry-run in deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyoon committed Oct 5, 2024
1 parent b2f7e8a commit d083764
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ jobs:
uses: deargen/workflows/.github/workflows/commit-changelog-and-release.yml@master
with:
version-tag: ${{ github.event.inputs.version-tag }}
dry-run: ${{ github.event.inputs.dry-run == true }}
dry-run: ${{ github.event.inputs.dry-run == 'true' }}
changelog-path: docs/CHANGELOG.md
exclude-types: build,docs,style,other

publish-to-pypi:
if: ${{ github.event.inputs.dry-run == 'false' }}
needs: commit-changelog-and-release
runs-on: ubuntu-24.04
steps:
- name: Set up Python 3.11
if: ${{ github.event.inputs.dry-run == 'false' }}
uses: actions/setup-python@v4
with:
python-version: 3.11

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

0 comments on commit d083764

Please sign in to comment.