1616
1717 - uses : subosito/flutter-action@v2
1818 with :
19- flutter-version : ' 3.41.2 '
19+ flutter-version : ' 3.41.6 '
2020 channel : stable
2121 cache : true
2222
5151
5252 - uses : subosito/flutter-action@v2
5353 with :
54- flutter-version : ' 3.41.2 '
54+ flutter-version : ' 3.41.6 '
5555 channel : stable
5656 cache : true
5757
7878
7979 - uses : subosito/flutter-action@v2
8080 with :
81- flutter-version : ' 3.41.2 '
81+ flutter-version : ' 3.41.6 '
8282 channel : stable
8383 cache : true
8484
@@ -100,8 +100,38 @@ jobs:
100100 name : windows
101101 path : linkdqueue-windows.zip
102102
103+ build-android :
104+ runs-on : ubuntu-latest
105+ steps :
106+ - uses : actions/checkout@v4
107+
108+ - uses : actions/setup-java@v4
109+ with :
110+ distribution : temurin
111+ java-version : ' 17'
112+
113+ - uses : subosito/flutter-action@v2
114+ with :
115+ flutter-version : ' 3.41.6'
116+ channel : stable
117+ cache : true
118+
119+ - name : Install dependencies
120+ run : flutter pub get
121+
122+ - name : Build Android APK
123+ run : flutter build apk --release
124+
125+ - name : Rename APK
126+ run : mv build/app/outputs/flutter-apk/app-release.apk linkdqueue-android.apk
127+
128+ - uses : actions/upload-artifact@v4
129+ with :
130+ name : android
131+ path : linkdqueue-android.apk
132+
103133 release :
104- needs : [build-macos, build-linux, build-windows]
134+ needs : [build-macos, build-linux, build-windows, build-android ]
105135 runs-on : ubuntu-latest
106136 steps :
107137 - uses : actions/download-artifact@v4
@@ -115,4 +145,5 @@ jobs:
115145 artifacts/macos/linkdqueue-macos.zip
116146 artifacts/linux/linkdqueue-linux.tar.gz
117147 artifacts/windows/linkdqueue-windows.zip
148+ artifacts/android/linkdqueue-android.apk
118149 generate_release_notes : true
0 commit comments