feat: add JDK caching to workflow for improved build performance
Some checks failed
Gitea Actions Demo / Build-Gradle (push) Failing after 5m47s

This commit is contained in:
Your Name
2025-03-27 11:24:02 +01:00
parent 8ad7e44b25
commit fcccbe33ef

View File

@@ -10,12 +10,19 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Cache JDK
uses: actions/cache@v3
with:
path: |
~/.sdkman/candidates/java
key: jdk-${{ runner.os }}-oracle-21
restore-keys: jdk-${{ runner.os }}-
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '21'
cache: 'gradle'
#- name: Install Gradle
# run: |