On Tue, 26 Aug 2025, Antonin Décimo wrote:
+ echo /gcc-mingw/bin >> $GITHUB_PATH
...
+ export PATH=/gcc-mingw/bin:$PATH
You should probably quote the variables (you never know...)
Sure, we could do that.
and always echo to "$GITHUB_PATH" (it prepends the path).
Actually, this case is a bit special; since these things run in an msys2
shell, we need to add things to the path manually within the job - the
msys2 shell doesn't pick up directories added to the path externally, so
it doesn't react to things added to $GIHUB_PATH.
So the earlier line adding things to $GITHUB_PATH isn't really needed
here, but it's added for consistency if we'd have other later steps that
don't use the msys2 shell.
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public