Skip to content

Commit 842bb9c

Browse files
Steelskincompnerd
andauthored
Update .github/workflows/swift-toolchain.yml
Co-authored-by: Saleem Abdulrasool <[email protected]>
1 parent 24be9f6 commit 842bb9c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/swift-toolchain.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -778,11 +778,7 @@ jobs:
778778
run: |
779779
if ("${{ matrix.os }}" -eq "Windows") {
780780
$ExeSuffix = ".exe"
781-
if ("${{ matrix.arch }}" -eq "arm64") {
782-
$Cpu = "aarch64"
783-
} else {
784-
$Cpu = "x86_64"
785-
}
781+
$Cpu = if ("${{ matrix.arch }}" -eq "arm64") { "aarch64" } else { "x86_64" }
786782
$SourceBinDir = Join-Path "${{ github.workspace }}" "BinaryCache" "swift-driver" "${Cpu}-unknown-windows-msvc" "release"
787783
} else {
788784
$ExeSuffix = ""

0 commit comments

Comments
 (0)