Skip to content

Commit 32b4fba

Browse files
committed
Enable configuration cache
1 parent d54e337 commit 32b4fba

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
- uses: actions/checkout@v4
3636
- name: Validate Gradle Wrapper
3737
uses: gradle/wrapper-validation-action@v1
38-
- uses: actions/cache@v3
38+
- uses: actions/cache@v4
3939
with:
4040
path: ~/.konan
4141
key: ${{ runner.os }}-${{ hashFiles('**/.lock') }}
4242
- name: Set up JDK 17
43-
uses: actions/setup-java@v3
43+
uses: actions/setup-java@v4
4444
with:
4545
java-version: '17'
4646
distribution: 'temurin'
@@ -49,6 +49,7 @@ jobs:
4949
- name: Gradle publish
5050
run: |
5151
./gradlew \
52+
--no-configuration-cache \
5253
-PGITHUB_PUBLISH_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
5354
-PsigningInMemoryKey="${{ secrets.SIGNING_KEY }}" \
5455
-PsigningInMemoryKeyId="${{ secrets.SIGNING_KEY_ID }}" \
@@ -66,12 +67,12 @@ jobs:
6667
- uses: actions/checkout@v4
6768
- name: Validate Gradle Wrapper
6869
uses: gradle/wrapper-validation-action@v1
69-
- uses: actions/cache@v3
70+
- uses: actions/cache@v4
7071
with:
7172
path: ~/.konan
7273
key: ${{ runner.os }}-${{ hashFiles('**/.lock') }}
7374
- name: Set up JDK 17
74-
uses: actions/setup-java@v3
75+
uses: actions/setup-java@v4
7576
with:
7677
java-version: '17'
7778
distribution: 'temurin'

demos/supabase-todolist/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ kotlin.code.style=official
22
xcodeproj=./iosApp
33
android.useAndroidX=true
44
org.gradle.caching=true
5+
org.gradle.configuration-cache=true
56
org.gradle.jvmargs=-Xmx3g
67
org.jetbrains.compose.experimental.jscanvas.enabled=true
78
org.jetbrains.compose.experimental.macos.enabled=true

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ kotlin.code.style=official
22
# Gradle
33
org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx2048M"
44
org.gradle.caching=true
5+
org.gradle.configuration-cache=true
56
# Compose
67
org.jetbrains.compose.experimental.uikit.enabled=true
78
# Android

0 commit comments

Comments
 (0)