Skip to content

Commit a191e55

Browse files
committed
Fix actions/version outputs
1 parent 7a0dfc9 commit a191e55

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/actions/version/action.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,31 @@ inputs:
1010
outputs:
1111
semver:
1212
description: "The full semantic version. Same as input.semver"
13-
value: ""
13+
value: ${{ steps.entrypoint.outputs.semver }}
1414
major:
1515
description: "Major version, 1.2.3 -> 1"
16-
value: ""
16+
value: ${{ steps.entrypoint.outputs.major }}
1717
minor:
1818
description: "Minor version, 1.2.3 -> 2"
19-
value: ""
19+
value: ${{ steps.entrypoint.outputs.minor }}
20+
2021
patch:
2122
description: "Patch version, 1.2.3 -> 3"
22-
value: ""
23+
value: ${{ steps.entrypoint.outputs.patch }}
24+
2325
tag-exists:
2426
description: "Indicates whether a Git tag already exists for the version"
25-
value: ""
27+
value: ${{ steps.entrypoint.outputs.tag-exists }}
28+
2629
releasable:
2730
description: "Determines if the current state of the codebase should released, determined by whether the commit is for the default branch and if the version it's associated with has already been released"
28-
value: ""
31+
value: ${{ steps.entrypoint.outputs.releasable }}
32+
2933
runs:
3034
using: "composite"
3135
steps:
3236
- run: ${{ github.action_path }}/entrypoint.sh
37+
id: entrypoint
3338
shell: bash
3439
env:
3540
INPUT_SEMVER: ${{ inputs.semver }}

0 commit comments

Comments
 (0)