File tree 2 files changed +6
-2
lines changed 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,10 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
128
128
129
129
# Install Swift toolchain.
130
130
ARG SWIFT_RELEASE_METADATA=https://download.swift.org/development/windows10/latest-build.json
131
+ # Pinned to 3/10 snapshot due to https://github.com/swiftlang/swift/issues/80356
132
+ # $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \
131
133
RUN $Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA} | ConvertFrom-JSON; \
132
- $SWIFT_URL = "\" https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download) \" " ; \
134
+ $SWIFT_URL = "\" https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a-windows10.exe \" " ; \
133
135
Write-Host -NoNewLine ('Downloading {0} ... ' -f ${SWIFT_URL}); \
134
136
Invoke-WebRequest -Uri ${SWIFT_URL} -OutFile installer.exe; \
135
137
Write-Host '✓' ; \
Original file line number Diff line number Diff line change @@ -128,8 +128,10 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
128
128
129
129
# Install Swift toolchain.
130
130
ARG SWIFT_RELEASE_METADATA=https://download.swift.org/development/windows10/latest-build.json
131
+ # Pinned to 3/10 snapshot due to https://github.com/swiftlang/swift/issues/80356
132
+ # $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \
131
133
RUN $Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA} | ConvertFrom-JSON; \
132
- $SWIFT_URL = "\" https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download) \" " ; \
134
+ $SWIFT_URL = "\" https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a-windows10.exe \" " ; \
133
135
Write-Host -NoNewLine ('Downloading {0} ... ' -f ${SWIFT_URL}); \
134
136
Invoke-WebRequest -Uri ${SWIFT_URL} -OutFile installer.exe; \
135
137
Write-Host '✓' ; \
You can’t perform that action at this time.
0 commit comments