diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 494e7a4..cae11c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,14 @@ jobs: - name: test run: flutter test + - name: restore gradle cache + uses: actions/cache/restore@v4 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + - name: release paperwork run: | ./gradlew release-paperwork @@ -54,6 +62,14 @@ jobs: - name: build app bundle run: flutter build appbundle + - name: save gradle cache + uses: actions/cache/save@v4 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + - name: upload apk uses: actions/upload-artifact@v4 with: