Skip to content

Commit b4b61ba

Browse files
author
danny
committed
Added android sdk
1 parent 25e5b01 commit b4b61ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ jobs:
7878
with:
7979
cache: true
8080
channel: stable
81+
- name: Setup Android SDK
82+
uses: android-actions/setup-android@v3
83+
with:
84+
cmdline-tools-version: 12266719
8185

8286
# - name: GH-Page Build
8387
# working-directory: ./macless_haystack
@@ -111,7 +115,6 @@ jobs:
111115
working-directory: ./macless_haystack
112116
run: |
113117
yes | flutter doctor --android-licenses
114-
flutter config --jdk-dir="/usr/local/lib/android/sdk"
115118
flutter doctor -v
116119
flutter build apk --release --build-name=${{ env.VERSION }}
117120
mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/android-application.apk

0 commit comments

Comments
 (0)