Skip to content

Commit cd48455

Browse files
authored
build: Caching Kotlin things with gradle/actions/setup-gradle (#1946)
1 parent 2047395 commit cd48455

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,10 @@ jobs:
6262
with:
6363
java-version: '19'
6464
distribution: 'temurin'
65-
- uses: actions/cache@v4
65+
- uses: gradle/actions/setup-gradle@v4
6666
with:
67-
path: |
68-
~/.gradle/caches
69-
~/.gradle/wrapper
70-
key: ${{ runner.os }}-gradle-cache-v5-${{ github.job }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
71-
restore-keys: |
72-
${{ runner.os }}-gradle-cache-v5-${{ github.job }}-
67+
cache-read-only: false
7368
- run: npm install
7469
- run: npm run build-kotlin
7570
- run: npm run test-kotlin
76-
- run: ./src.kotlin/alphaTab/gradlew --stop
71+
- run: ./src.kotlin/alphaTab/gradlew --stop

0 commit comments

Comments
 (0)