Skip to content

Commit 9303ff2

Browse files
committed
ARM64: Install clang on build-installers flavor
When adding ARM64 support to this Action, I overlooked something regarding the `build-installers` flavor: > In addition to building `mingw-w64-git`, this flavor allows bundling > Git for Windows' artifacts such as the installer and the Portable Git. This is now hurting me when setting up a CI pipeline, as `clang`/`llvm` are missing when using the `build-installers` flavor and trying to build `mingw-w64-git`. Signed-off-by: Dennis Ameling <[email protected]>
1 parent ff5d9f1 commit 9303ff2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

dist/index.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ async function installArm64Dependencies(
3838
'mingw-w64-clang-aarch64-pcre2',
3939
'mingw-w64-clang-aarch64-libssp'
4040
]
41-
if (flavor === 'full' || flavor === 'makepkg-git') {
41+
if (
42+
flavor === 'full' ||
43+
flavor === 'makepkg-git' ||
44+
flavor === 'build-installers'
45+
) {
4246
packages.push(
4347
'mingw-w64-clang-aarch64-toolchain',
4448
'mingw-w64-clang-aarch64-asciidoc'

0 commit comments

Comments
 (0)