Commit 5c28491
committed
Fix Windows path conversion in .envrc creation
Convert Windows-style paths from setup-java outputs to Unix paths
using cygpath. The setup-java action returns Windows paths like
'C:\hostedtoolcache\...' on Windows, which need to be converted to
Unix-style paths '/c/hostedtoolcache/...' for bash scripts.
Changes:
- Add conditional cygpath conversion for Windows runner
- Convert JAVA8_PATH, JAVA11_PATH, JAVA17_PATH on Windows only
- Leave paths unchanged on Linux and macOS
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Introduced in the course of support-and-care/maven-support-and-care#1371 parent c5e5708 commit 5c28491
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
82 | 89 | | |
83 | 90 | | |
84 | 91 | | |
| |||
0 commit comments