1
0
Fork 0
mirror of https://github.com/actions/setup-java synced 2024-11-09 15:12:39 +00:00

docs: append --no-daemon option for Windows user (#218)

To cache deps successfully even on Windows, it's better to add `--no-daemon` option
to the Gradle build, or the save process will fail due to 'permission denied' error.

refs https://github.com/actions/cache/issues/454
This commit is contained in:
Kengo TODA 2021-09-13 17:53:49 +08:00 committed by GitHub
parent b02a10773f
commit 68c162b39c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ steps:
distribution: 'temurin'
java-version: '11'
cache: 'gradle'
- run: ./gradlew build
- run: ./gradlew build --no-daemon
```
#### Caching maven dependencies