Skip to content

Commit 947cdaf

Browse files
1 parent 35cb4f3 commit 947cdaf

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ jobs:
2525
cache: gradle
2626
- name: Setup Gradle
2727
uses: gradle/actions/setup-gradle@v5
28+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
2829
- name: Assemble
29-
run: ./gradlew assembleRelease
30+
run: ./gradlew assembleRelease --configuration-cache

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ jobs:
3535
java-version: 17
3636
- name: Setup Gradle
3737
uses: gradle/actions/setup-gradle@v5
38+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
3839
- name: Build API documentation with Dokka
39-
run: ./gradlew ui:dokkaGeneratePublicationHtml
40+
run: ./gradlew ui:dokkaGeneratePublicationHtml --configuration-cache
4041
- name: Build with Jekyll
4142
uses: actions/jekyll-build-pages@v1
4243
with:

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ jobs:
4242
cache: gradle
4343
- name: Setup Gradle
4444
uses: gradle/actions/setup-gradle@v5
45+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
4546
- name: Publish package
46-
run: ./gradlew publish
47+
run: ./gradlew publish --configuration-cache
4748
env:
4849
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4950
REPOSILITE_USERNAME: ${{ secrets.REPOSILITE_USERNAME }}

0 commit comments

Comments
 (0)