Hi! I am using Gradle to build my project in Github action. Im using this config: ```- uses: gradle/...
m
Hi! I am using Gradle to build my project in Github action. Im using this config:
Copy code
- uses: gradle/actions/setup-gradle@v3
  run: ./gradlew build
Does this use cache or do i need to specify following:
./gradlew --configuration-cache build
v
Please always consider channel and server topics in open communities. šŸ˜‰
šŸ‘ 1
a
Gradle has two build cache options • Build Cache • Configuration Cache It's quick and easy and usually safe to enable build cache (see the docs), and then
gradle/actions/setup-gradle@v3
should automatically start caching too, no config needed. Configuration cache is more advanced, but can be more difficult/flaky.
šŸ‘ 1