Skip to content

Commit

Permalink
Remove caching in deployment scripts (#6309)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez authored Apr 18, 2020
1 parent 0b899fc commit 5816f94
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,27 +54,6 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 14
- uses: actions/cache@v1
name: Restore gradle cache
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle') }}
# in case there is no cache for the current OS, fall back to any other OS
restore-keys: |
${{ runner.os }}-gradle-cache-
Linux-gradle-cache-${{ hashFiles('**/*.gradle') }}
Windows-gradle-cache-${{ hashFiles('**/*.gradle') }}
macOS-gradle-cache-${{ hashFiles('**/*.gradle') }}
- uses: actions/cache@v1
name: Cache gradle wrapper
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
# in case there is no cache for the current OS, fall back to any other OS
restore-keys: |
Linux-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
Windows-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
macOS-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Build runtime image
run: ./gradlew -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" jlinkZip
- name: Build installer
Expand Down

0 comments on commit 5816f94

Please sign in to comment.