From 42f362ff52290f5703ccc165475eeda951c0f8db Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Wed, 20 Nov 2024 10:07:21 +0100 Subject: [PATCH 1/3] Enable build cache --- .github/workflows/pull-requests.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 49c9538..486b441 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -58,7 +58,7 @@ jobs: - name: Build Android Dev run: | - cd android && ./gradlew assembleRelease --no-daemon + cd android && ./gradlew assembleRelease --no-daemon --build-cache --build-cache-key=dev - name: Upload APK as artifact uses: actions/upload-artifact@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55054bd..f5cee23 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,7 +64,7 @@ jobs: - name: Build Android run: | cd android - ./gradlew assembleRelease --no-daemon --info + ./gradlew assembleRelease --no-daemon --info --build-cache --build-cache-key=android-release for f in app/build/outputs/apk/release/*-unsigned.apk; do mv "$f" "${f%-unsigned.apk}.apk"; done - name: Sign App Bundle From f70e1679953ce1e49205bb8d77b536638d3d5eba Mon Sep 17 00:00:00 2001 From: Florian Wetzel Date: Wed, 20 Nov 2024 10:10:56 +0100 Subject: [PATCH 2/3] Remove incorrect flag --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5cee23..cc77334 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,7 +64,7 @@ jobs: - name: Build Android run: | cd android - ./gradlew assembleRelease --no-daemon --info --build-cache --build-cache-key=android-release + ./gradlew assembleRelease --no-daemon --info --build-cache for f in app/build/outputs/apk/release/*-unsigned.apk; do mv "$f" "${f%-unsigned.apk}.apk"; done - name: Sign App Bundle From 6c96dac227a2286146733a22789124b2361c1125 Mon Sep 17 00:00:00 2001 From: Florian Wetzel Date: Wed, 20 Nov 2024 10:11:13 +0100 Subject: [PATCH 3/3] Remove incorrect flag --- .github/workflows/pull-requests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 486b441..29a6e35 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -58,7 +58,7 @@ jobs: - name: Build Android Dev run: | - cd android && ./gradlew assembleRelease --no-daemon --build-cache --build-cache-key=dev + cd android && ./gradlew assembleRelease --no-daemon --build-cache - name: Upload APK as artifact uses: actions/upload-artifact@v4