Skip to content

Commit

Permalink
Fix process-version action return without output
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-rds committed Jun 13, 2024
1 parent c7c2ab5 commit d46dbe5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/actions/process-version/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ inputs:
outputs:
version:
description: "Clear Version (removes 'v' when necessary)"
value: ${{ steps.get_version_file.outputs.version }}
value: ${{ steps.export_version.outputs.version }}
is_semver:
description: "If version is a SEMVER or tag/brach"
value: ${{ steps.get_version_file.outputs.is_semver }}
value: ${{ steps.export_version.outputs.is_semver }}
ete_version:
description: "Etebase Version"
value: ${{ steps.get_version_file.outputs.ete_version }}
value: ${{ steps.export_version.outputs.ete_version }}

runs:
using: "composite"
Expand All @@ -25,8 +25,6 @@ runs:
env:
VERSION: ${{ inputs.version }}
run: |
echo $VERSION
CLEAN_VERSION="${VERSION#v}"
if [[ ${CLEAN_VERSION} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
Expand Down

0 comments on commit d46dbe5

Please sign in to comment.