diff --git a/.github/workflows/feature-branch-build.yaml b/.github/workflows/feature-branch-build.yaml index 52f6753..264db81 100644 --- a/.github/workflows/feature-branch-build.yaml +++ b/.github/workflows/feature-branch-build.yaml @@ -24,14 +24,14 @@ jobs: flutter-channel: stable java-version: 17 - - name: Accept Android SDK Licenses - run: | - yes | sudo $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses - - name: Prepare Android debug keystore directory run: | mkdir -p $HOME/.config/.android - sudo chmod -R 755 $HOME/.config/.android + chmod -R 755 $HOME/.config/.android + + - name: Accept Android SDK Licenses + run: | + yes | sudo $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses - name: Run build_runner to generate code run: flutter pub run build_runner build --delete-conflicting-outputs