mirror of
https://github.com/actions/setup-java
synced 2024-12-22 21:22:41 +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:
parent
b02a10773f
commit
68c162b39c
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ steps:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
- run: ./gradlew build
|
- run: ./gradlew build --no-daemon
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Caching maven dependencies
|
#### Caching maven dependencies
|
||||||
|
|
Loading…
Reference in a new issue