Skip to content

Commit 0c00ce8

Browse files
committed
Reduce Actions storage retention
1 parent b331ec7 commit 0c00ce8

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ jobs:
4444
printf '%s' "$WBOOKS_KEYSTORE_BASE64" | base64 --decode > ../.secrets/wBooks.jks
4545
printf '%s' "$WBOOKS_SIGNING_PROPERTIES_BASE64" | base64 --decode > ../.secrets/wBooks-signing.properties
4646
47-
- name: Cache Gradle
48-
uses: actions/cache@v4
49-
with:
50-
path: |
51-
~/.gradle/caches
52-
~/.gradle/wrapper
53-
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'gradle/libs.versions.toml') }}
54-
restore-keys: gradle-${{ runner.os }}-
55-
5647
- name: Grant gradlew execute permission
5748
run: chmod +x ./gradlew
5849

@@ -66,6 +57,7 @@ jobs:
6657
name: test-reports
6758
path: app/build/reports/tests/testDebugUnitTest
6859
if-no-files-found: ignore
60+
retention-days: 3
6961

7062
- name: Assemble debug APK
7163
run: ./gradlew --no-daemon assembleDebug
@@ -76,10 +68,12 @@ jobs:
7668
name: app-debug
7769
path: app/build/outputs/apk/debug/app-debug.apk
7870
if-no-files-found: error
71+
retention-days: 3
7972

8073
- name: Upload debug APK (companion)
8174
uses: actions/upload-artifact@v4
8275
with:
8376
name: companion-debug
8477
path: companion/build/outputs/apk/debug/companion-debug.apk
8578
if-no-files-found: error
79+
retention-days: 3

0 commit comments

Comments
 (0)