From 137432882b9d7169cbbd348357324ae6d6a39a65 Mon Sep 17 00:00:00 2001 From: half-ogre Date: Sun, 20 Jul 2025 19:23:25 -0700 Subject: [PATCH] try again to fix workflow --- get-latest-semver-tag/action.yml | 9 +++++++++ get-next-semver/action.yml | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/get-latest-semver-tag/action.yml b/get-latest-semver-tag/action.yml index 8c0fdc3..7edc93c 100644 --- a/get-latest-semver-tag/action.yml +++ b/get-latest-semver-tag/action.yml @@ -15,25 +15,34 @@ inputs: outputs: tag: description: 'The latest semver tag (e.g., "v1.2.3-alpha.1+build.456")' + value: ${{ steps.get-latest-semver-tag.outputs.tag }} version: description: 'The version without prefix (e.g., "1.2.3-alpha.1+build.456")' + value: ${{ steps.get-latest-semver-tag.outputs.version }} major: description: 'The major version number' + value: ${{ steps.get-latest-semver-tag.outputs.major }} minor: description: 'The minor version number' + value: ${{ steps.get-latest-semver-tag.outputs.minor }} patch: description: 'The patch version number' + value: ${{ steps.get-latest-semver-tag.outputs.patch }} prerelease: description: 'The pre-release version (e.g., "alpha.1")' + value: ${{ steps.get-latest-semver-tag.outputs.prerelease }} build: description: 'The build metadata (e.g., "build.456")' + value: ${{ steps.get-latest-semver-tag.outputs.build }} found: description: 'Whether a tag was found (true/false)' + value: ${{ steps.get-latest-semver-tag.outputs.found }} runs: using: 'composite' steps: - name: Build and run get-latest-semver-tag + id: get-latest-semver-tag shell: bash env: INPUT_PREFIX: ${{ inputs.prefix }} diff --git a/get-next-semver/action.yml b/get-next-semver/action.yml index 1d9c7ab..095fcf0 100644 --- a/get-next-semver/action.yml +++ b/get-next-semver/action.yml @@ -24,21 +24,28 @@ inputs: outputs: version: description: 'The next semantic version with prefix (e.g., "v1.2.4")' + value: ${{ steps.get-next-semver.outputs.version }} version-core: description: 'The next semantic version without prefix (e.g., "1.2.4")' + value: ${{ steps.get-next-semver.outputs.version-core }} major: description: 'The major version number' + value: ${{ steps.get-next-semver.outputs.major }} minor: description: 'The minor version number' + value: ${{ steps.get-next-semver.outputs.minor }} patch: description: 'The patch version number' + value: ${{ steps.get-next-semver.outputs.patch }} increment-type: description: 'The type of increment performed (major, minor, patch)' + value: ${{ steps.get-next-semver.outputs.increment-type }} runs: using: 'composite' steps: - name: Build and run get-next-semver + id: get-next-semver shell: bash env: INPUT_CURRENT_VERSION: ${{ inputs.current-version }}