Skip to content

Commit f46a8d2

Browse files
author
danny
committed
accept licenses
1 parent f14a426 commit f46a8d2

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,9 @@ jobs:
7979
cache: true
8080
channel: stable
8181
- run: flutter doctor -v
82-
- name: Setup Android SDK
83-
run: |
84-
export ANDROID_SDK_ROOT=$HOME/Android/Sdk
85-
mkdir -p $ANDROID_SDK_ROOT/cmdline-tools
86-
cd $ANDROID_SDK_ROOT/cmdline-tools
87-
curl -o commandlinetools.zip https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip
88-
unzip commandlinetools.zip
89-
rm commandlinetools.zip
90-
91-
# SDK Manager Pfad setzen
92-
export PATH=$ANDROID_SDK_ROOT/cmdline-tools/bin:$PATH
93-
94-
# Lizenzen akzeptieren
95-
yes | sdkmanager --licenses
96-
97-
# Platform 36, Build Tools 36.0.0 und NDK installieren
98-
sdkmanager "platforms;android-36" "build-tools;36.0.0" "ndk;25.2.9519653"
99-
flutter doctor -v
82+
- name: Accept Android SDK Licenses
83+
run: yes | flutter doctor --android-licenses
84+
- run: flutter doctor -v
10085

10186

10287
# - name: GH-Page Build

0 commit comments

Comments
 (0)