Skip to content

Commit 4fe2d8a

Browse files
committed
fix: evaluate output of release-please correctly
1 parent 3aef766 commit 4fe2d8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
runs-on: ubuntu-latest
6969
name: "Run release-please"
7070
outputs:
71-
should_publish: steps.release.outputs.release_created
71+
should_publish: ${{ steps.release.outputs.release_created == 'true' }}
7272
permissions:
7373
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
7474
contents: write # needed for github actions bot to write to repo
@@ -82,7 +82,7 @@ jobs:
8282
manifest-file: .release-please-manifest.json
8383
publish:
8484
needs: release-please
85-
if: ${{ needs.release-please.outputs.should_publish }}
85+
if: ${{ needs.release-please.outputs.should_publish == 'true' }}
8686
runs-on: ubuntu-latest
8787
name: "Publish to PyPi"
8888
environment:

0 commit comments

Comments
 (0)