Skip to content

Commit

Permalink
feat(release-please): add output var for release created or not
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbriere1 committed Aug 7, 2024
1 parent 60e7413 commit 7027d1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/gh-release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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:
Expand Down

0 comments on commit 7027d1a

Please sign in to comment.