Skip to content

Commit dacb3b6

Browse files
committed
Update build and openhab workflows
Signed-off-by: Christoph Hofmann <[email protected]>
1 parent aef7c66 commit dacb3b6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: |
4545
Set-Location ${{github.action_path}}/
4646
$version = [System.Version]::Parse('${{inputs.build_number}}')
47-
${{github.workspace}}/repo/.github/workflows/Set-Version.ps1 -SourceDirectory '${{github.workspace}}/repo/src/' -Major $version.Major -Minor $version.Minor -Build $version.Build -Revision 0 -SetVersion
47+
& ${{github.workspace}}/repo/.github/workflows/Set-Version.ps1 -SourceDirectory '${{github.workspace}}/repo/src/' -Major $version.Major -Minor $version.Minor -Build $version.Build -Revision 0 -SetVersion
4848
4949
- name: Setup NuGet.exe for use with actions
5050
uses: NuGet/[email protected]

.github/workflows/openhab.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ on:
1010
inputs:
1111
BuildConfiguration:
1212
description: 'Specifices if a release or debug package should be created.'
13+
type: choice
14+
options: ['release', 'debug']
1315
default: 'release'
14-
required: false
1516
IsBetaRelease:
1617
description: 'Specifices if a beta release should be created.'
17-
default: 'false'
18-
required: false
18+
type: 'boolean'
19+
default: false
1920

2021
jobs:
2122
configure:

0 commit comments

Comments
 (0)