Skip to content

Commit eafec02

Browse files
author
Petr Sramek
committed
fix for composite action
1 parent 2815e97 commit eafec02

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/actions/versioning.yml renamed to .github/actions/versioning/action.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,24 @@ inputs:
1212
is-release:
1313
description: 'Release flag'
1414
required: false
15-
default: false
15+
default: 'false'
1616
outputs:
17-
ASSEMBLY_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}
18-
ASSEMBLY_INFORMATIONAL_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}+${{ steps.gitversion.outputs.sha }}
19-
FILE_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}
20-
PACKAGE_VERSION: ${{ fromJSON(format('[ "{0}{1}", "{0}" ]', steps.gitversion.outputs.assemblySemVer, steps.gitversion.outputs.preReleaseLabelWithDash))[fromJSON($INPUT_IS_RELEASE)] }}
17+
ASSEMBLY_VERSION:
18+
description: ''
19+
value: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}
20+
ASSEMBLY_INFORMATIONAL_VERSION:
21+
description: ''
22+
value: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}+${{ steps.gitversion.outputs.sha }}
23+
FILE_VERSION:
24+
description: ''
25+
value: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}
26+
PACKAGE_VERSION:
27+
description: ''
28+
value: ${{ fromJSON(format('[ "{0}{1}", "{0}" ]', steps.gitversion.outputs.assemblySemVer, steps.gitversion.outputs.preReleaseLabelWithDash))[fromJSON($INPUT_IS_RELEASE)] }}
29+
2130
runs:
2231
using: "composite"
2332
steps:
24-
steps:
2533
- uses: actions/checkout@v3
2634
with:
2735
fetch-depth: 0

0 commit comments

Comments
 (0)