Skip to content

Commit 5a94023

Browse files
authored
Merge pull request #6 from half-ogre-games/half-ogre/try-again
Try again to fix workflow
2 parents 1ef2ba7 + 1374328 commit 5a94023

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

get-latest-semver-tag/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,34 @@ inputs:
1515
outputs:
1616
tag:
1717
description: 'The latest semver tag (e.g., "v1.2.3-alpha.1+build.456")'
18+
value: ${{ steps.get-latest-semver-tag.outputs.tag }}
1819
version:
1920
description: 'The version without prefix (e.g., "1.2.3-alpha.1+build.456")'
21+
value: ${{ steps.get-latest-semver-tag.outputs.version }}
2022
major:
2123
description: 'The major version number'
24+
value: ${{ steps.get-latest-semver-tag.outputs.major }}
2225
minor:
2326
description: 'The minor version number'
27+
value: ${{ steps.get-latest-semver-tag.outputs.minor }}
2428
patch:
2529
description: 'The patch version number'
30+
value: ${{ steps.get-latest-semver-tag.outputs.patch }}
2631
prerelease:
2732
description: 'The pre-release version (e.g., "alpha.1")'
33+
value: ${{ steps.get-latest-semver-tag.outputs.prerelease }}
2834
build:
2935
description: 'The build metadata (e.g., "build.456")'
36+
value: ${{ steps.get-latest-semver-tag.outputs.build }}
3037
found:
3138
description: 'Whether a tag was found (true/false)'
39+
value: ${{ steps.get-latest-semver-tag.outputs.found }}
3240

3341
runs:
3442
using: 'composite'
3543
steps:
3644
- name: Build and run get-latest-semver-tag
45+
id: get-latest-semver-tag
3746
shell: bash
3847
env:
3948
INPUT_PREFIX: ${{ inputs.prefix }}

get-next-semver/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,28 @@ inputs:
2424
outputs:
2525
version:
2626
description: 'The next semantic version with prefix (e.g., "v1.2.4")'
27+
value: ${{ steps.get-next-semver.outputs.version }}
2728
version-core:
2829
description: 'The next semantic version without prefix (e.g., "1.2.4")'
30+
value: ${{ steps.get-next-semver.outputs.version-core }}
2931
major:
3032
description: 'The major version number'
33+
value: ${{ steps.get-next-semver.outputs.major }}
3134
minor:
3235
description: 'The minor version number'
36+
value: ${{ steps.get-next-semver.outputs.minor }}
3337
patch:
3438
description: 'The patch version number'
39+
value: ${{ steps.get-next-semver.outputs.patch }}
3540
increment-type:
3641
description: 'The type of increment performed (major, minor, patch)'
42+
value: ${{ steps.get-next-semver.outputs.increment-type }}
3743

3844
runs:
3945
using: 'composite'
4046
steps:
4147
- name: Build and run get-next-semver
48+
id: get-next-semver
4249
shell: bash
4350
env:
4451
INPUT_CURRENT_VERSION: ${{ inputs.current-version }}

0 commit comments

Comments
 (0)