Skip to content

Commit

Permalink
Replace old caching system with Gradle setup system.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kichura authored Dec 16, 2024
1 parent f8d89c4 commit f39afc4
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v4
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
- name: Extract build version information
id: ref
run: .github/extract_refs.sh
Expand All @@ -20,16 +20,6 @@ jobs:
distribution: 'temurin'
java-version: 21
check-latest: true
- name: Initialize caches
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/loom-cache
~/.gradle/wrapper
key: ${{ runner.os }}-build-fabric-${{ steps.ref.outputs.minecraft_version }}
restore-keys: |
${{ runner.os }}-build-fabric-
- name: Compile with Gradle
run: ./gradlew build
- name: Upload compiled artifacts
Expand Down

0 comments on commit f39afc4

Please sign in to comment.