Skip to content

Commit 76a804d

Browse files
committed
[ci skip] Update GitHub windows_build Action to flag builds as official.
Also do some trivial cleanup of other GitHub Actions.
1 parent 3bad494 commit 76a804d

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.github/actions/unix_configure/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Configure POV-Ray for Unix'
22
description: 'Run `configure` build step for POV-Ray for Unix'
33

44
inputs:
5-
configure-options:
5+
configure-options:
66
description: 'Additional option for `configure` script'
77
required: false
88
default: ''

.github/actions/unix_make/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Make POV-Ray for Unix'
22
description: 'Run `make` build step for POV-Ray for Unix'
33

44
inputs:
5-
make-target:
5+
make-target:
66
description: 'Target for `make` command'
77
required: false
88
default: ''

.github/actions/windows_build/action.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,22 @@ name: 'Build POV-Ray for Windows Binary'
22
description: 'Build POV-Ray for Windows Binary'
33

44
inputs:
5-
pov-ray-is-autobuild:
5+
pov-ray-is-autobuild:
66
description: 'POV_RAY_IS_AUTOBUILD value'
77
required: true
88
default: '1'
9-
pov-ray-build-id:
9+
pov-ray-special-sauce:
10+
description: 'Special sauce, e.g. for flagging a build as official'
11+
required: false
12+
default: ''
13+
pov-ray-build-id:
1014
description: 'POV_RAY_BUILD_ID value'
1115
required: true
12-
built-by:
16+
built-by:
1317
description: 'BUILT_BY value'
1418
required: true
1519
default: 'GitHub'
16-
solution:
20+
solution:
1721
description: 'subdirectory of `windows` in which `povray.sln` is located'
1822
required: true
1923
configuration:
@@ -24,11 +28,11 @@ inputs:
2428
description: 'solution platform to build'
2529
required: false
2630
default: 'x64'
27-
toolset:
31+
toolset:
2832
description: 'Platform toolset version'
2933
required: false
3034
default: 'v140'
31-
msbuild-options:
35+
msbuild-options:
3236
description: 'additional MSBuild options'
3337
required: false
3438
default: ''
@@ -41,6 +45,7 @@ runs:
4145
$env:PovBuildDefs = 'POV_RAY_IS_AUTOBUILD=${{ inputs.pov-ray-is-autobuild }};'
4246
$env:PovBuildDefs += 'POV_RAY_BUILD_ID="${{ inputs.pov-ray-build-id }}";'
4347
$env:PovBuildDefs += 'BUILT_BY="${{ inputs.built-by }}";'
48+
$env:PovBuildDefs += '${{ inputs.pov-ray-special-sauce }}'
4449
msbuild `
4550
/t:Rebuild /m `
4651
/p:Configuration=${{ inputs.configuration }} `

0 commit comments

Comments
 (0)