Skip to content

Commit

Permalink
chore(ci): add a version number output from the release-dev task (#5232)
Browse files Browse the repository at this point in the history
This adds an output from the `release-dev` workflow which will let other
calling workflows get the version which has just been released.
  • Loading branch information
alicewriteswrongs authored Jan 8, 2024
1 parent b7d6b54 commit af6e45b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
workflow_dispatch:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
workflow_call:
outputs:
dev-version:
description: The version that was just published to npm.
value: ${{ jobs.get-dev-version.outputs.dev-version }}

jobs:
build_core:
Expand Down

0 comments on commit af6e45b

Please sign in to comment.