Skip to content

Commit

Permalink
ci: πŸ’š fix release please work flow (#85)
Browse files Browse the repository at this point in the history
- fix condition si that it's evaluated as bool
 - set job output tag.
  • Loading branch information
zoido authored Jan 17, 2024
1 parent 773e2fe commit 860f355
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
tag_name: ${{ steps.release.outputs.tag_name }}

steps:
- uses: google-github-actions/release-please-action@v4
Expand All @@ -24,7 +25,7 @@ jobs:
name: Release to PyPI
uses: ./.github/workflows/pypi-release.yml

if: needs.release-please.outputs.releases_created
if: needs.release-please.outputs.releases_created == 'true'
needs: release-please

secrets: inherit
Expand All @@ -33,7 +34,7 @@ jobs:
name: Attach API Docs to Release
uses: ./.github/workflows/api-docs-release.yml

if: needs.release-please.outputs.releases_created
if: needs.release-please.outputs.releases_created == 'true'
needs: release-please

with:
Expand Down

0 comments on commit 860f355

Please sign in to comment.