mirror of
https://github.com/selfxyz/self.git
synced 2026-01-07 22:04:03 -05:00
* fix addhaar typo * consolidate mobile app links and add tests * fix caching issues for pipelines * fix gitleaks * update binary merkle root.circom package source * fix cache * update path * rename lockfile * fix qrcode error * fix mobile ci tests and prettier * fix qr code typing * fix qrcode pipelines * fix integration test
36 lines
976 B
YAML
36 lines
976 B
YAML
name: Cache Gradle
|
|
|
|
description: Cache Gradle wrappers and dependencies.
|
|
|
|
inputs:
|
|
path:
|
|
description: Paths to cache
|
|
required: false
|
|
default: |
|
|
~/.gradle/caches/modules-*
|
|
~/.gradle/caches/jars-*
|
|
~/.gradle/caches/build-cache-*
|
|
~/.gradle/wrapper
|
|
cache-version:
|
|
description: Additional cache version segment
|
|
required: false
|
|
default: v1
|
|
|
|
outputs:
|
|
cache-hit:
|
|
description: Whether an exact match was found for the cache key
|
|
value: ${{ steps.cache.outputs.cache-hit }}
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- id: cache
|
|
name: Cache Gradle
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ${{ inputs.path }}
|
|
key: ${{ runner.os }}-gradle-${{ inputs.cache-version }}-${{ hashFiles('**/build.gradle', '**/settings.gradle', '**/gradle-wrapper.properties', '**/gradle.properties') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-gradle-${{ inputs.cache-version }}-
|
|
${{ runner.os }}-gradle-
|