forked from github/wulkanowy-mirror
merge: workaround for unsupported hashFiles function (#1)
Reviewed-on: #1
This commit is contained in:
commit
7302bb3336
@ -33,13 +33,25 @@ jobs:
|
|||||||
java-version: '17'
|
java-version: '17'
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
|
|
||||||
|
- name: Set up Go environment
|
||||||
|
uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: '1.22'
|
||||||
|
|
||||||
|
- name: Get hash of Gradle files
|
||||||
|
uses: actions/go-hashfiles@v0.0.1
|
||||||
|
id: get-hash
|
||||||
|
with:
|
||||||
|
patterns: |-
|
||||||
|
**/*.gradle*
|
||||||
|
|
||||||
- name: Cache Gradle
|
- name: Cache Gradle
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
~/.gradle/wrapper
|
~/.gradle/wrapper
|
||||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
key: gradle-${{ runner.os }}-${{ steps.get-hash.outputs.hash }}
|
||||||
|
|
||||||
- name: Get app version
|
- name: Get app version
|
||||||
id: get_version
|
id: get_version
|
||||||
|
Loading…
Reference in New Issue
Block a user