fix: use sudo for chmod on Android keystore directory

The directory is created by the SDK license step with sudo, so we need
sudo to change its permissions. This fixes the "Operation not permitted"
error during the workflow run.
This commit is contained in:
Claude 2025-11-20 13:14:52 +00:00
parent f29159e55b
commit f750e8a3eb
No known key found for this signature in database

View file

@ -31,7 +31,7 @@ jobs:
- name: Prepare Android debug keystore directory
run: |
mkdir -p $HOME/.config/.android
chmod -R 755 $HOME/.config/.android
sudo chmod -R 755 $HOME/.config/.android
- name: Run build_runner to generate code
run: flutter pub run build_runner build --delete-conflicting-outputs