Skip to content

Commit 8db99f3

Browse files
authored
Fix build for Windows on GitHub Actions by removing Bash from WSL (tensorflow#90)
1 parent 2f63acf commit 8db99f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ jobs:
9999
shell: cmd
100100
run: |
101101
python -m pip install six
102+
echo Removing broken version of Bash from WSL
103+
rm.exe "C:/WINDOWS/system32/bash.EXE"
102104
echo Removing some unused stuff to avoid running out of disk space
103105
rm.exe -Rf "C:/Program Files (x86)/Android" "C:/Program Files/dotnet" "%CONDA%" "%GOROOT_1_10_X64%" "%GOROOT_1_11_X64%" "%GOROOT_1_12_X64%" "%GOROOT_1_13_X64%" "C:\hostedtoolcache\windows\Ruby" "C:\Rust"
104106
echo Removing old versions of MSVC that interfere with Bazel
@@ -129,6 +131,7 @@ jobs:
129131
set "TEMP=C:\tmp"
130132
set "TMP=C:\tmp"
131133
mkdir C:\tmp
134+
bash --version
132135
git --version
133136
cl
134137
call mvn -version

0 commit comments

Comments
 (0)