Skip to content

Commit ad87a97

Browse files
authored
Check we can read the RELEASE_VERSION from the release workflow
See guardian/gha-scala-library-release-workflow#25
1 parent f3e9e27 commit ad87a97

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ on:
55

66
jobs:
77
release:
8-
uses: guardian/gha-scala-library-release-workflow/.github/workflows/reusable-release.yml@main
8+
uses: guardian/gha-scala-library-release-workflow/.github/workflows/reusable-release.yml@output-version-to-caller-workflow-to-support-post-release-actions-like-npm
99
permissions: { contents: write, pull-requests: write }
1010
secrets:
1111
SONATYPE_PASSWORD: ${{ secrets.AUTOMATED_MAVEN_RELEASE_SONATYPE_PASSWORD }}
1212
PGP_PRIVATE_KEY: ${{ secrets.AUTOMATED_MAVEN_RELEASE_PGP_SECRET }}
13+
check-output-version:
14+
runs-on: ubuntu-latest
15+
needs: release
16+
steps:
17+
- run: echo "The release version was ${{ needs.release.outputs.RELEASE_VERSION }}"

0 commit comments

Comments
 (0)