Skip to content

Commit

Permalink
Fix /opt/android folder permission (#6207)
Browse files Browse the repository at this point in the history
Summary:
The [job](https://github.com/pytorch/executorch/actions/workflows/android.yml) starts to fail after https://github.com/ReactiveCircus/android-emulator-runner/releases/tag/v2.33.0 released 3 days ago.  The fix would be to make `/opt/android` owned by CI user instead of root.

Pull Request resolved: #6207

Reviewed By: kirklandsign

Differential Revision: D64366807

Pulled By: huydhn

fbshipit-source-id: 3e26cbd5669c2c401368f2a9783a8e9c85a1f324
  • Loading branch information
huydhn authored and facebook-github-bot committed Oct 15, 2024
1 parent bff26f3 commit 4e8f609
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ jobs:
# Reuse the script that install Android on ET Docker image
sudo -E bash .ci/docker/common/install_android.sh
# After https://github.com/ReactiveCircus/android-emulator-runner/releases/tag/v2.33.0 release,
# it seems that we need to chown the Android setup to the current user instead of root to
# avoid permission issue
sudo chown -R "${USER}" /opt/android
- name: Gradle cache
uses: gradle/actions/setup-gradle@v3

Expand Down

0 comments on commit 4e8f609

Please sign in to comment.