Skip to content

Commit

Permalink
Unset ANDROID_HOME in workflow to fix Android SDK loading error
Browse files Browse the repository at this point in the history
A similar fix was needed for closure-compiler:

google/closure-compiler#4206
  • Loading branch information
brad4d authored Dec 27, 2024
1 parent 04149a5 commit da8b132
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:
- name: Install packages
run: yarn install --colors=always
- name: Build jar
run: ./build-scripts/build_compiler.js
# unset ANDROID_HOME to prevent bazel from trying to use the Android SDK
run: unset ANDROID_HOME && ./build-scripts/build_compiler.js
- name: Tests
run: node_modules/.bin/mocha --colors
- name: Upload contrib folder
Expand Down

0 comments on commit da8b132

Please sign in to comment.