Skip to content

Commit fe9e461

Browse files
committed
Also configure the environment variable MSYSTEM
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 07cf1dc commit fe9e461

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"vstfs://.*"
99
],
1010
"cSpell.words": [
11+
"MSYSTEM",
1112
"Pacman",
1213
"autodrain",
1314
"unzipper",

main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ async function run(): Promise<void> {
2525

2626
// Set up PATH so that Git for Windows' SDK's `bash.exe` is found
2727
core.addPath(`${outputDirectory}/usr/bin`)
28+
core.exportVariable(
29+
'MSYSTEM',
30+
architecture === 'i686' ? 'MING32' : 'MINGW64'
31+
)
2832
} catch (error) {
2933
core.setFailed(error.message)
3034
}

0 commit comments

Comments
 (0)