From 7027d1ae5cd17d383f7f1fd3ea68e7df2e585025 Mon Sep 17 00:00:00 2001 From: Nicolas BRIERE Date: Wed, 7 Aug 2024 17:05:25 +0200 Subject: [PATCH] feat(release-please): add output var for release created or not --- .github/workflows/gh-release-please.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/gh-release-please.yml b/.github/workflows/gh-release-please.yml index ff78ead..510c199 100644 --- a/.github/workflows/gh-release-please.yml +++ b/.github/workflows/gh-release-please.yml @@ -17,6 +17,10 @@ on: required: false type: string default: .release-please-manifest.json + outputs: + release_created: + description: "Whether a release was created" + value: ${{ jobs.github-releaseplease.outputs.release_created }} push: branches: - 'main' @@ -27,6 +31,8 @@ jobs: permissions: contents: write pull-requests: write + outputs: + release_created: ${{ steps.release.outputs.releases_created }} env: major_and_minor_tags: ${{ inputs.major_and_minor_tags || true }} steps: