Skip to content

Commit 42aaa73

Browse files
authored
Update action.yml
Correct the variable name for the `build_arch` input.
1 parent 86c86db commit 42aaa73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ runs:
232232
if ("${{ steps.validation.outputs.use_custom_url }}" -eq "1") {
233233
Invoke-Installer -LocalPath "${{ inputs.release-asset-name }}" -InstallArgs ("/quiet")
234234
} else {
235-
if ("${{ input.build_arch }}" -eq "amd64") {
235+
if ("${{ inputs.build_arch }}" -eq "amd64") {
236236
Invoke-Installer -URL "https://download.swift.org/${{ inputs.branch }}/windows10/swift-${{ inputs.tag }}/swift-${{ inputs.tag }}-windows10.exe" -InstallArgs ("/quiet")
237237
else {
238-
Invoke-Installer -URL "https://download.swift.org/${{ inputs.branch }}/windows10-${{ input.build_arch }}/swift-${{ inputs.tag }}/swift-${{ inputs.tag }}-windows10-${{ input.build_arch }}.exe" -InstallArgs ("/quiet")
238+
Invoke-Installer -URL "https://download.swift.org/${{ inputs.branch }}/windows10-${{ inputs.build_arch }}/swift-${{ inputs.tag }}/swift-${{ inputs.tag }}-windows10-${{ inputs.build_arch }}.exe" -InstallArgs ("/quiet")
239239
}
240240
}
241241
Update-EnvironmentVariables

0 commit comments

Comments
 (0)