Skip to content

Commit

Permalink
fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sailist committed Feb 4, 2023
1 parent 8b5051d commit ac240ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
name: Create tag
runs-on: ubuntu-latest
needs: extract_version
if: ${{ needs.extract_version.outputs.can_publish == true }}
if: ${{ needs.extract_version.outputs.can_publish == 'true' }}
steps:
- run: echo ${{ needs.extract_version.outputs.can_publish }}
- run: echo ${{ needs.extract_version.outputs.can_release }}
Expand All @@ -63,7 +63,7 @@ jobs:

publish:
needs: [ extract_version,create_tag ]
if: ${{ needs.extract_version.outputs.can_publish == true }}
if: ${{ needs.extract_version.outputs.can_publish == 'true' }}
runs-on: ubuntu-latest
name: Publish on pypi
steps:
Expand All @@ -87,7 +87,7 @@ jobs:
create_release:
needs: [ create_tag,extract_version ]
name: Create Release
if: ${{ needs.extract_version.outputs.can_publish == true }}
if: ${{ needs.extract_version.outputs.can_publish == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit ac240ff

Please sign in to comment.