File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 2222 ios_host_xcode_versions :
2323 type : string
2424 description : " Xcode version list (JSON)"
25- default : " ${{ inputs.macos_xcode_versions }} "
25+ default : null
2626 ios_host_exclude_xcode_versions :
2727 type : string
2828 description : " Exclude Xcode version list (JSON)"
29- default : " ${{ inputs.macos_exclude_xcode_versions }} "
29+ default : null
3030 ios_host_versions :
3131 type : string
3232 description : " iOS host (macOS) version list (JSON)"
33- default : " ${{ inputs.macos_versions }} "
33+ default : null
3434 ios_host_archs :
3535 type : string
3636 description : " iOS host (macOS) arch list (JSON)"
37- default : " ${{ inputs.macos_archs }} "
37+ default : null
3838 linux_swift_versions :
3939 type : string
4040 description : " Include Linux Swift version list (JSON)"
@@ -232,11 +232,11 @@ jobs:
232232 strategy :
233233 fail-fast : false
234234 matrix :
235- xcode_version : ${{ fromJson(inputs.ios_host_xcode_versions) }}
236- os_version : ${{ fromJson(inputs.ios_host_versions) }}
237- arch : ${{ fromJson(inputs.ios_host_archs) }}
235+ xcode_version : ${{ fromJson(inputs.ios_host_xcode_versions ?? inputs.macos_xcode_versions ) }}
236+ os_version : ${{ fromJson(inputs.ios_host_versions ?? inputs.macos_versions ) }}
237+ arch : ${{ fromJson(inputs.ios_host_archs ?? inputs.macos_archs ) }}
238238 exclude :
239- - ${{ fromJson(inputs.ios_host_exclude_xcode_versions) }}
239+ - ${{ fromJson(inputs.ios_host_exclude_xcode_versions ?? inputs.macos_exclude_xcode_versions ) }}
240240 steps :
241241 - name : Checkout repository
242242 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments