Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 10 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,28 +138,23 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
cache: gradle

- name: 📦 Restore Gradle cache (master-first)
id: gradle-cache
- name: 📦 Restore Gradle cache
uses: actions/cache/restore@v6
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ github.ref_name }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle/libs.versions.toml') }}
restore-keys: |
gradle-${{ runner.os }}-master-
gradle-${{ runner.os }}-
key: setup-java-${{ runner.os }}-gradle

- name: 💾 Save Gradle cache (only master / on miss)
if: github.ref_name == 'master' || steps.gradle-cache.outputs.cache-hit != 'true'
- name: 💾 Save Gradle cache
if: success()
uses: actions/cache/save@v5
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ steps.gradle-cache.outputs.cache-primary-key }}
key: setup-java-${{ runner.os }}-gradle

- name: 🔧 Grant execute permission to gradlew
run: chmod +x ./gradlew
Expand Down Expand Up @@ -228,26 +223,22 @@ jobs:
distribution: 'temurin'
java-version: '17'

- name: 🐘 Restore Gradle cache (shared, master-first)
id: gradle-cache
- name: 🐘 Restore Gradle cache
uses: actions/cache/restore@v6
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ github.ref_name }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle/libs.versions.toml') }}
restore-keys: |
${{ runner.os }}-gradle-master-
${{ runner.os }}-gradle-
key: setup-java-${{ runner.os }}-gradle

- name: 💾 Save Gradle cache (only master / on miss)
if: github.ref_name == 'master' || steps.gradle-cache.outputs.cache-hit != 'true'
- name: 💾 Save Gradle cache
if: success()
uses: actions/cache/save@v5
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ steps.gradle-cache.outputs.cache-primary-key }}
key: setup-java-${{ runner.os }}-gradle

- name: 📱 Restore AVD cache (1 per API, master-first)
id: avd-cache
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,28 +132,23 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
cache: gradle

- name: 📦 Restore Gradle cache (master-first)
id: gradle-cache
- name: 📦 Restore Gradle cache
uses: actions/cache/restore@v6
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ github.ref_name }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle/libs.versions.toml') }}
restore-keys: |
gradle-${{ runner.os }}-master-
gradle-${{ runner.os }}-
key: setup-java-${{ runner.os }}-gradle

- name: 💾 Save Gradle cache (only master / on miss)
if: github.ref_name == 'master' || steps.gradle-cache.outputs.cache-hit != 'true'
- name: 💾 Save Gradle cache
if: success()
uses: actions/cache/save@v5
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ steps.gradle-cache.outputs.cache-primary-key }}
key: setup-java-${{ runner.os }}-gradle

- name: 🔧 Grant execute permission to gradlew
run: chmod +x ./gradlew
Expand Down Expand Up @@ -521,6 +516,7 @@ jobs:
--arg run_url "$RUN_URL" \
--argjson color "$COLOR" \
--arg status "$STATUS" \
--arg branch "$BRANCH" \
--arg short_sha "$SHORT_SHA" \
--arg author "$AUTHOR" \
--arg event "$EVENT" \
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ plugins {
alias(libs.plugins.android.library) apply false
}

version = "0.1.1"
version = "0.1.11"
Loading