Skip to content

Commit

Permalink
add gradle cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Vacxe committed Apr 11, 2024
1 parent 86b4991 commit 6f50daf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 12
uses: actions/setup-java@v1
- uses: actions/setup-java@v4
name: Set up JDK 11
with:
java-version: 12
distribution: "temurin"
java-version: 11
cache: gradle
- name: gradle check
run: ./gradlew check jacocoTestReport
- name: Save test output
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
- uses: actions/setup-java@v4
name: Set up JDK 11
with:
distribution: "temurin"
java-version: 11
cache: gradle
- name: Build release tar
run: ./gradlew distTar
- name: Tar Checksum
Expand Down

0 comments on commit 6f50daf

Please sign in to comment.