Skip to content

Commit e9521bf

Browse files
committed
Fix /opt/android folder permission
1 parent 8101bf1 commit e9521bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/android.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ jobs:
8080
# Reuse the script that install Android on ET Docker image
8181
sudo -E bash .ci/docker/common/install_android.sh
8282
83+
# After https://github.com/ReactiveCircus/android-emulator-runner/releases/tag/v2.33.0 release,
84+
# it seems that we need to chown the Android setup to the current user instead of root to
85+
# avoid permission issue
86+
sudo chown -R "${USER}" /opt/android
87+
8388
- name: Gradle cache
8489
uses: gradle/actions/setup-gradle@v3
8590

0 commit comments

Comments
 (0)