File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -129,9 +129,9 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
129
129
# Install Swift toolchain.
130
130
ARG SWIFT_RELEASE_METADATA=http://download.swift.org/swift-6.0-branch/windows10/latest-build.json
131
131
RUN $env:Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA}; \
132
- $env:SWIFT = "https://download.swift.org/swift-6.0-branch/windows10/$($($env:Release | ConvertFrom-JSON).dir)/$($($env:Release | ConvertFrom-JSON).download)" ; \
133
- Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:SWIFT }); \
134
- Invoke-WebRequest -Uri ${env:SWIFT } -OutFile installer.exe; \
132
+ $env:SWIFT_URL = "\" https://download.swift.org/swift-6.0-branch/windows10/$($($env:Release | ConvertFrom-JSON).dir)/$($($env:Release | ConvertFrom-JSON).download)\" " ; \
133
+ Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:SWIFT_URL }); \
134
+ Invoke-WebRequest -Uri ${env:SWIFT_URL } -OutFile installer.exe; \
135
135
Write-Host '✓' ; \
136
136
Write-Host -NoNewLine 'Installing Swift ... ' ; \
137
137
$Process = \
Original file line number Diff line number Diff line change @@ -129,9 +129,9 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
129
129
# Install Swift toolchain.
130
130
ARG SWIFT_RELEASE_METADATA=http://download.swift.org/swift-6.0-branch/windows10/latest-build.json
131
131
RUN $env:Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA}; \
132
- $env:SWIFT = "https://download.swift.org/swift-6.0-branch/windows10/$($($env:Release | ConvertFrom-JSON).dir)/$($($env:Release | ConvertFrom-JSON).download)" ; \
133
- Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:SWIFT }); \
134
- Invoke-WebRequest -Uri ${env:SWIFT } -OutFile installer.exe; \
132
+ $env:SWIFT_URL = "\" https://download.swift.org/swift-6.0-branch/windows10/$($($env:Release | ConvertFrom-JSON).dir)/$($($env:Release | ConvertFrom-JSON).download)\" " ; \
133
+ Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:SWIFT_URL }); \
134
+ Invoke-WebRequest -Uri ${env:SWIFT_URL } -OutFile installer.exe; \
135
135
Write-Host '✓' ; \
136
136
Write-Host -NoNewLine 'Installing Swift ... ' ; \
137
137
$Process = \
Original file line number Diff line number Diff line change @@ -129,9 +129,9 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
129
129
# Install Swift toolchain.
130
130
ARG SWIFT_RELEASE_METADATA=http://download.swift.org/development/windows10/latest-build.json
131
131
RUN $env:Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA}; \
132
- $env:SWIFT = "https://download.swift.org/development/windows10/$($($env:Release | ConvertFrom-JSON).dir)/$($($env:Release | ConvertFrom-JSON).download)" ; \
133
- Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:SWIFT }); \
134
- Invoke-WebRequest -Uri ${env:SWIFT } -OutFile installer.exe; \
132
+ $env:SWIFT_URL = "\" https://download.swift.org/development/windows10/$($($env:Release | ConvertFrom-JSON).dir)/$($($env:Release | ConvertFrom-JSON).download)\" " ; \
133
+ Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:SWIFT_URL }); \
134
+ Invoke-WebRequest -Uri ${env:SWIFT_URL } -OutFile installer.exe; \
135
135
Write-Host '✓' ; \
136
136
Write-Host -NoNewLine 'Installing Swift ... ' ; \
137
137
$Process = \
Original file line number Diff line number Diff line change @@ -129,9 +129,9 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
129
129
# Install Swift toolchain.
130
130
ARG SWIFT_RELEASE_METADATA=http://download.swift.org/development/windows10/latest-build.json
131
131
RUN $env:Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA}; \
132
- $env:SWIFT = "https://download.swift.org/development/windows10/$($($env:Release | ConvertFrom-JSON).dir)/$($($env:Release | ConvertFrom-JSON).download)" ; \
133
- Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:SWIFT }); \
134
- Invoke-WebRequest -Uri ${env:SWIFT } -OutFile installer.exe; \
132
+ $env:SWIFT_URL = "\" https://download.swift.org/development/windows10/$($($env:Release | ConvertFrom-JSON).dir)/$($($env:Release | ConvertFrom-JSON).download)\" " ; \
133
+ Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:SWIFT_URL }); \
134
+ Invoke-WebRequest -Uri ${env:SWIFT_URL } -OutFile installer.exe; \
135
135
Write-Host '✓' ; \
136
136
Write-Host -NoNewLine 'Installing Swift ... ' ; \
137
137
$Process = \
You can’t perform that action at this time.
0 commit comments