Skip to content

Commit b5420f3

Browse files
author
Petr Sramek
committed
fixed issues
1 parent 905e37f commit b5420f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/actions/versioning/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@ outputs:
2525
value: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}
2626
PACKAGE_VERSION:
2727
description: ''
28-
value: ${{ fromJSON(format('[ "{0}{1}", "{0}" ]', steps.gitversion.outputs.assemblySemVer, steps.gitversion.outputs.preReleaseLabelWithDash))[fromJSON($INPUT_IS_RELEASE)] }}
28+
value: ${{ fromJSON(format('[ "{0}{1}", "{0}" ]', steps.gitversion.outputs.assemblySemVer, steps.gitversion.outputs.preReleaseLabelWithDash))[fromJSON($inputs.is-release)] }}
2929

3030
runs:
3131
using: "composite"
3232
steps:
3333
- uses: actions/checkout@v3
3434
with:
3535
fetch-depth: 0
36-
- name: Install GitVersion $INPUT_GIT_VERSION
37-
uses: gittools/actions/gitversion/setup@$INPUT_GIT_ACTION_VERSION
36+
- name: Install GitVersion $inputs.git-version
37+
uses: gittools/actions/gitversion/setup@$inputs.git-version
3838
with:
3939
versionSpec: $INPUT_GIT_VERSION
4040
preferLatestVersion: true
41-
- name: Calculate version with GitVersion $INPUT_GIT_VERSION
41+
- name: Calculate version with GitVersion $inputs.git-version
4242
id: gitversion
43-
uses: gittools/actions/gitversion/execute@$INPUT_GIT_ACTION_VERSION
43+
uses: gittools/actions/gitversion/execute@$inputs.git-action-version
4444
with:
4545
useConfigFile: true
4646
configFilePath: ./.gitversion/version.yml

0 commit comments

Comments
 (0)