Skip to content

Commit da8b132

Browse files
authored
Unset ANDROID_HOME in workflow to fix Android SDK loading error
A similar fix was needed for closure-compiler: google/closure-compiler#4206
1 parent 04149a5 commit da8b132

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
- name: Install packages
6161
run: yarn install --colors=always
6262
- name: Build jar
63-
run: ./build-scripts/build_compiler.js
63+
# unset ANDROID_HOME to prevent bazel from trying to use the Android SDK
64+
run: unset ANDROID_HOME && ./build-scripts/build_compiler.js
6465
- name: Tests
6566
run: node_modules/.bin/mocha --colors
6667
- name: Upload contrib folder

0 commit comments

Comments
 (0)