From 1c165b78d3e4759ef090d31a8dca625b9eba08cd Mon Sep 17 00:00:00 2001 From: "jim.hopkins" Date: Sun, 22 Jan 2023 15:29:44 -0600 Subject: [PATCH] updated --- .github/workflows/android-ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 2382e32..cb4deb6 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -22,14 +22,22 @@ jobs: - name: Build with Gradle run: ./gradlew build + + - name: Cache build files + id: cache-build + uses: actions/cache@v3 + with: + path: app/build + release: runs-on: ubuntu-latest needs: build - steps: + steps: - name: Store apk artifacts + if: steps.cache-build.outputs.cache-hit != 'true' uses: actions/upload-artifact@v2 with: name: apk-files-${{ github.sha }} # android stores build files in app/build - currently in .gitignore so it's not stored from local machine build & tests - path: app/build/outputs/apk/release/ + path: app/build/outputs/apk/release/*.apk