Skip to content

Commit

Permalink
fix cache key and path for java
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Jan 16, 2025
1 parent d21a371 commit 2e6376e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
id: cache-openjdk
uses: actions/cache@v3
with:
path: /usr/lib/jvm/java-11-openjdk
path: /usr/lib/jvm/java-11-openjdk-amd64
key: ${{ runner.os }}-openjdk-11
restore-keys: |
${{ runner.os }}-openjdk
${{ runner.os }}-openjdk-11
- name: Install openjdk
if: ${{ steps.cache-openjdk.outputs.cache-hit != 'true' }}
run: sudo apt-get install openjdk-11-jdk
Expand Down

0 comments on commit 2e6376e

Please sign in to comment.