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' 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