Update action.yml for output name changes

This commit is contained in:
Phil Jay
2022-10-19 09:28:39 +11:00
parent b7be5e00c2
commit 8e33684d42
2 changed files with 14 additions and 14 deletions

View File

@@ -51,7 +51,7 @@ jobs:
id: version-increment id: version-increment
run: ./version-increment.sh run: ./version-increment.sh
env: env:
current_version: ${{ steps.version-lookup.outputs.current-version }} current_version: ${{ steps.version-lookup.outputs.CURRENT_VERSION }}
scheme: calver scheme: calver
- name: Release version - name: Release version
@@ -61,4 +61,4 @@ jobs:
repo_token: "${{ secrets.GITHUB_TOKEN }}" repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: false draft: false
prerelease: false prerelease: false
automatic_release_tag: "${{ steps.version-increment.outputs.version }}" automatic_release_tag: "${{ steps.version-increment.outputs.VERSION }}"

View File

@@ -22,37 +22,37 @@ inputs:
outputs: outputs:
current-version: current-version:
description: 'Current normal version detected' description: 'Current normal version detected'
value: ${{ steps.version-lookup.outputs.current-version }} value: ${{ steps.version-lookup.outputs.CURRENT_VERSION }}
current-v-version: current-v-version:
description: 'Current normal version detected, prefixed with a `v` charatcter' description: 'Current normal version detected, prefixed with a `v` charatcter'
value: ${{ steps.version-lookup.outputs.current-v-version }} value: ${{ steps.version-lookup.outputs.CURRENT_V_VERSION }}
version: version:
description: 'Incremented version calculated' description: 'Incremented version calculated'
value: ${{ steps.version-increment.outputs.version }} value: ${{ steps.version-increment.outputs.VERSION }}
v-version: v-version:
description: 'Incremented version calculated, prefixed with a `v` charatcter' description: 'Incremented version calculated, prefixed with a `v` charatcter'
value: ${{ steps.version-increment.outputs.v-version }} value: ${{ steps.version-increment.outputs.V_VERSION }}
major-version: major-version:
description: 'Major number of the incremented version' description: 'Major number of the incremented version'
value: ${{ steps.version-increment.outputs.major-version }} value: ${{ steps.version-increment.outputs.MAJOR_VERSION }}
minor-version: minor-version:
description: 'Minor number of the incremented version' description: 'Minor number of the incremented version'
value: ${{ steps.version-increment.outputs.minor-version }} value: ${{ steps.version-increment.outputs.MINOR_VERSION }}
patch-version: patch-version:
description: 'Patch number of the incremented version' description: 'Patch number of the incremented version'
value: ${{ steps.version-increment.outputs.patch-version }} value: ${{ steps.version-increment.outputs.PATCH_VERSION }}
pre-release-version: pre-release-version:
description: 'Pre-release label of the incremented version' description: 'Pre-release label of the incremented version'
value: ${{ steps.version-increment.outputs.pre-release-label }} value: ${{ steps.version-increment.outputs.PRE_RELEASE_LABEL }}
major-v-version: major-v-version:
description: 'Major number of the incremented version, prefixed with a `v` charatcter' description: 'Major number of the incremented version, prefixed with a `v` charatcter'
value: ${{ steps.version-increment.outputs.major-v-version }} value: ${{ steps.version-increment.outputs.MAJOR_V_VERSION }}
minor-v-version: minor-v-version:
description: 'Minor number of the incremented version, prefixed with a `v` charatcter' description: 'Minor number of the incremented version, prefixed with a `v` charatcter'
value: ${{ steps.version-increment.outputs.minor-v-version }} value: ${{ steps.version-increment.outputs.MINOR_V_VERSION }}
patch-v-version: patch-v-version:
description: 'Patch number of the incremented version, prefixed with a `v` charatcter' description: 'Patch number of the incremented version, prefixed with a `v` charatcter'
value: ${{ steps.version-increment.outputs.patch-v-version }} value: ${{ steps.version-increment.outputs.PATCH_V_VERSION }}
runs: runs:
using: "composite" using: "composite"
@@ -67,6 +67,6 @@ runs:
run: ${{ github.action_path }}/version-increment.sh run: ${{ github.action_path }}/version-increment.sh
shell: bash shell: bash
env: env:
current_version: ${{ steps.version-lookup.outputs.current-version }} current_version: ${{ steps.version-lookup.outputs.CURRENT_VERSION }}
increment: ${{ inputs.increment }} increment: ${{ inputs.increment }}
scheme: ${{ inputs.scheme }} scheme: ${{ inputs.scheme }}