Skip to content

Commit

Permalink
Fix upload logic in release workflow (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca authored Jun 8, 2023
1 parent 1d93912 commit 7b41640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
name: wheels for py3.${{ matrix.python }} on ${{ matrix.os }}
path: dist/*
- name: Publish package
if: env.upload == true
if: env.upload == 'true'
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
twine check dist/*
ls -lh dist/
- name: Publish source distribution
if: env.upload == true
if: env.upload == 'true'
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
Expand Down

0 comments on commit 7b41640

Please sign in to comment.