Skip to content

Commit

Permalink
Add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-lcalderonachio committed Dec 11, 2024
1 parent c0b8d8e commit 3cdc8e3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/snowflake-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@ jobs:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v4

# Cache Gradle dependencies
- name: Cache Gradle dependencies
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
build
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
# Set up JDK (example: OpenJDK 11, can be changed based on your project requirements)
- name: Set up Java 17
uses: actions/setup-java@v4
Expand Down

0 comments on commit 3cdc8e3

Please sign in to comment.