Skip to content

Commit 59637b1

Browse files
1 parent 0c8d423 commit 59637b1

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
@@ -36,8 +36,9 @@ jobs:
3636
cache: gradle
3737
- name: Setup Gradle
3838
uses: gradle/actions/setup-gradle@v5
39+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
3940
- name: Build API documentation with Dokka
40-
run: ./gradlew ui:dokkaGeneratePublicationHtml
41+
run: ./gradlew ui:dokkaGeneratePublicationHtml --configuration-cache
4142
- name: Build with Jekyll
4243
uses: actions/jekyll-build-pages@v1
4344
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)