mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Use inbuilt setup-java for build caching.
This commit is contained in:
parent
8eff8a26e7
commit
89dcdf23a4
1 changed files with 1 additions and 7 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -21,13 +21,7 @@ jobs:
|
|||
java-version: ${{ matrix.java }}
|
||||
distribution: temurin
|
||||
check-latest: true
|
||||
|
||||
- name: Cache Gradle dependencies
|
||||
uses: actions/cache@v2.1.6
|
||||
with:
|
||||
path: ~/.gradle/caches
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||
restore-keys: ${{ runner.os }}-gradle
|
||||
cache: "gradle"
|
||||
|
||||
- name: Run Build
|
||||
run: chmod +x ./gradlew && ./gradlew build
|
||||
|
|
Loading…
Reference in a new issue