Skip to content

Commit

Permalink
Add github actions cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
daggerok committed Jul 18, 2024
1 parent b8c60c4 commit 9cb0268
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ jobs:
# github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
distribution: 'corretto'
- uses: actions/cache@v4
with:
key: ${{ runner.os }}-${{ hashFiles('**/pom.xml', '**/package.json', '**/docker-compose.yaml') }}
restore-keys: |
${{ runner.os }}-
- run: |
echo "JAVA_HOME: $JAVA_HOME"
java -version
Expand Down

0 comments on commit 9cb0268

Please sign in to comment.