From 860f3556dce96b923ac1e44a5c3f42ce02c330d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Pokorn=C3=BD?= Date: Wed, 17 Jan 2024 06:59:23 +0100 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=92=9A=20fix=20release=20please=20w?= =?UTF-8?q?ork=20flow=20(#85)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix condition si that it's evaluated as bool - set job output tag. --- .github/workflows/release-please.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5288559..4d33d98 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -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 @@ -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 @@ -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: