Skip to content

Commit 8874d51

Browse files
authored
feat: add release info outputs (#184)
1 parent 856e8ad commit 8874d51

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/create-stable-release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22
name: Create stable release
33

44
on:
5-
workflow_call
5+
workflow_call:
6+
outputs:
7+
version:
8+
description: "The version of the release created"
9+
value: ${{ jobs.job.outputs.version }}
10+
has_release:
11+
description: "Whether a release was created"
12+
value: ${{ jobs.job.outputs.has_release }}
613

714
jobs:
815
job:
916
runs-on: [idp]
17+
outputs:
18+
version: ${{ steps.compute-version.outputs.version }}
19+
has_release: ${{ steps.get-commits.outputs.has_commits }}
1020
permissions:
1121
contents: write # Required to create a release
1222
id-token: write

0 commit comments

Comments
 (0)