From 4fe2d8a9160755e49a34728a03d9bb41225d1aef Mon Sep 17 00:00:00 2001 From: Katerina Skroumpelou Date: Fri, 10 Oct 2025 13:38:02 +0300 Subject: [PATCH] fix: evaluate output of release-please correctly --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1f0b5a0..e9df4f31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,7 @@ jobs: runs-on: ubuntu-latest name: "Run release-please" outputs: - should_publish: steps.release.outputs.release_created + should_publish: ${{ steps.release.outputs.release_created == 'true' }} permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing contents: write # needed for github actions bot to write to repo @@ -82,7 +82,7 @@ jobs: manifest-file: .release-please-manifest.json publish: needs: release-please - if: ${{ needs.release-please.outputs.should_publish }} + if: ${{ needs.release-please.outputs.should_publish == 'true' }} runs-on: ubuntu-latest name: "Publish to PyPi" environment: