Skip to content

Commit

Permalink
fix publish workflow bool flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Tranquility2 committed Feb 2, 2024
1 parent 1b133a4 commit e321fe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
echo "new_version=$new_version" >> $GITHUB_OUTPUT
- name: Create Github Release
if: ${{ github.event.inputs.release == true }}
if: ${{ github.event.inputs.release == 'true' }}
id: create_release
uses: softprops/action-gh-release@v1
env:
Expand All @@ -68,12 +68,12 @@ jobs:
body: New Release ${{ steps.bump_version.outputs.new_version }}

- name: Build Package
if: ${{ github.event.inputs.publish == true }}
if: ${{ github.event.inputs.publish == 'true' }}
run: |
make build
- name: Publish To PyPI
if: ${{ github.event.inputs.publish == true }}
if: ${{ github.event.inputs.publish == 'true' }}
env:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
TWINE_USERNAME: ${{ secrets.PYPI_API_USER }}
Expand Down

0 comments on commit e321fe2

Please sign in to comment.