From 7e1d360661c5818f84f33239af3e4addd0c541b1 Mon Sep 17 00:00:00 2001 From: Denis Zhdanov Date: Wed, 25 Dec 2024 00:56:12 +0800 Subject: [PATCH] setting up CI --- .github/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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: