File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed
Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 2424 - name : Checkout repository
2525 uses : actions/checkout@v4
2626
27+ - name : Show disk usage before cleanup
28+ run : df -h /
29+
30+ - name : Free disk space on runner
31+ uses : jlumbroso/free-disk-space@main
32+ with :
33+ tool-cache : false
34+ android : true
35+ dotnet : true
36+ haskell : true
37+ large-packages : true
38+ docker-images : true
39+ swap-storage : true
40+
41+ - name : Show disk usage after cleanup
42+ run : df -h /
43+
2744 - name : Setup Java
2845 uses : actions/setup-java@v4
2946 with :
3855 with :
3956 flutter-version : ${{ env.FLUTTER_VERSION }}
4057
58+ - name : Clean previous build and caches
59+ run : |
60+ flutter clean
61+ rm -rf build
62+ cd android && ./gradlew clean && cd -
63+ rm -rf ~/.gradle/caches
64+ rm -rf ~/.gradle/daemon
65+ rm -rf ~/.android/build-cache
66+
4167 - name : Decode Android keystore
4268 run : echo "${{ secrets.ANDROID_KEYSTORE }}" | base64 --decode > ${{ env.KEYSTORE_PATH }}
4369
90116 with :
91117 allowUpdates : true
92118 artifacts : ${{ env.APK_RELEASE_PATH }}
93- artifactContentType : apk
119+ artifactContentType : application/vnd.android.package-archive
94120 generateReleaseNotes : true
95121 tag : latest_build
You can’t perform that action at this time.
0 commit comments