Skip to content

Commit 04f06f0

Browse files
committed
Remove suffix from the binary array definition
1 parent a1a32e9 commit 04f06f0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/swift-toolchain.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -674,21 +674,21 @@ jobs:
674674
run: |
675675
$Suffix = if ( "${{ matrix.os }}" -eq "Windows" ) { ".exe" } else { "" }
676676
$Binaries = @(
677-
"llvm-tblgen${Suffix}",
678-
"clang-tblgen${Suffix}",
679-
"lldb-tblgen${Suffix}",
680-
"llvm-config${Suffix}",
681-
"clang-pseudo-gen${Suffix}",
682-
"clang-tidy-confusable-chars-gen${Suffix}",
683-
"swift-def-to-strings-converter${Suffix}",
684-
"swift-serialize-diagnostics${Suffix}",
685-
"swift-compatibility-symbols${Suffix}"
677+
"llvm-tblgen",
678+
"clang-tblgen",
679+
"lldb-tblgen",
680+
"llvm-config",
681+
"clang-pseudo-gen",
682+
"clang-tidy-confusable-chars-gen",
683+
"swift-def-to-strings-converter",
684+
"swift-serialize-diagnostics",
685+
"swift-compatibility-symbols"
686686
)
687687
688688
# Create the target folder.
689689
New-Item -ItemType Directory -Path "${{ github.workspace }}/BuildRoot/bin" -Force | Out-Null
690690
foreach ($Binary in $Binaries) {
691-
Copy-Item -Path "${{ github.workspace }}/BinaryCache/0/bin/${Binary}" -Destination "${{ github.workspace }}/BuildRoot/bin/${Binary}" -Force
691+
Copy-Item -Path "${{ github.workspace }}/BinaryCache/0/bin/${Binary}${Suffix}" -Destination "${{ github.workspace }}/BuildRoot/bin/${Binary}${Suffix}" -Force
692692
}
693693
694694
- uses: thebrowsercompany/gha-upload-tar-artifact@main

0 commit comments

Comments
 (0)