Skip to content

Commit

Permalink
changed cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Oct 16, 2024
1 parent 804f464 commit 856f96a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle','**/gradle/wrapper/gradle-wrapper.properties','**/*.properties') }}
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('gradle.properties') }}
- name: Build with Gradle
run: ./gradlew build --stacktrace
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
- name: Make Gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Setup Gradle Dependencies Cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('gradle.properties') }}
- name: Build & Publish
run: ./gradlew build :forge:publish :fabric:publish :common:publish --stacktrace
env:
Expand Down

0 comments on commit 856f96a

Please sign in to comment.