Skip to content

Commit 33f467c

Browse files
Steelskincompnerd
authored andcommitted
Set boolean variables to boolean types
These were previously set to string types, resulting in incorrect evaluation in `if` blocks.
1 parent 62fd69d commit 33f467c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ jobs:
379379
ANDROID_CMAKE_EXE_LINKER_FLAGS: ${{ needs.context.outputs.ANDROID_CMAKE_EXE_LINKER_FLAGS }}
380380
ANDROID_CMAKE_SHARED_LINKER_FLAGS: ${{ needs.context.outputs.ANDROID_CMAKE_SHARED_LINKER_FLAGS }}
381381
CMAKE_Swift_FLAGS: ${{ needs.context.outputs.CMAKE_Swift_FLAGS }}
382-
debug_info: ${{ needs.context.outputs.debug_info }}
383-
signed: ${{ needs.context.outputs.signed }}
382+
debug_info: ${{ fromJSON(needs.context.outputs.debug_info) }}
383+
signed: ${{ fromJSON(needs.context.outputs.signed) }}
384384
swift_version: ${{ needs.context.outputs.swift_version }}
385385
swift_tag: ${{ needs.context.outputs.swift_tag }}
386386
default_build_runner: ${{ needs.context.outputs.windows_build_runner }}
@@ -444,8 +444,8 @@ jobs:
444444
ANDROID_CMAKE_EXE_LINKER_FLAGS: ${{ needs.context.outputs.ANDROID_CMAKE_EXE_LINKER_FLAGS }}
445445
ANDROID_CMAKE_SHARED_LINKER_FLAGS: ${{ needs.context.outputs.ANDROID_CMAKE_SHARED_LINKER_FLAGS }}
446446
CMAKE_Swift_FLAGS: ${{ needs.context.outputs.CMAKE_Swift_FLAGS }}
447-
debug_info: ${{ needs.context.outputs.debug_info }}
448-
signed: ${{ needs.context.outputs.signed }}
447+
debug_info: ${{ fromJSON(needs.context.outputs.debug_info) }}
448+
signed: ${{ fromJSON(needs.context.outputs.signed) }}
449449
swift_version: ${{ needs.context.outputs.swift_version }}
450450
swift_tag: ${{ needs.context.outputs.swift_tag }}
451451
default_build_runner: ${{ needs.context.outputs.mac_build_runner }}

.github/workflows/swift-toolchain.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,11 @@ on:
193193

194194
debug_info:
195195
required: true
196-
type: string
196+
type: boolean
197197

198198
signed:
199199
required: true
200-
type: string
200+
type: boolean
201201

202202
swift_version:
203203
required: true

0 commit comments

Comments
 (0)