XN137 opened a new pull request #4165: URL: https://github.com/apache/iceberg/pull/4165
this avoids downloading the gradle distribution on every workflow run also follows the recommended usage pattern for the github action: https://github.com/actions/cache/blob/main/examples.md#java---gradle the folder contents are deterministic: ``` chris@xanadu:~/code/iceberg$ tree -L 5 ~/.gradle/wrapper /home/chris/.gradle/wrapper └── dists └── gradle-7.4-bin └── c0gwcg53nkjbqw7r0h0umtfvt ├── gradle-7.4 │ ├── bin │ ├── init.d │ ├── lib │ ├── LICENSE │ ├── NOTICE │ └── README ├── gradle-7.4-bin.zip ├── gradle-7.4-bin.zip.lck └── gradle-7.4-bin.zip.ok 7 directories, 6 files chris@xanadu:~/code/iceberg$ rm -rf ~/.gradle/wrapper chris@xanadu:~/code/iceberg$ ./gradlew tasks >/dev/null; echo $? 0 chris@xanadu:~/code/iceberg$ tree -L 5 ~/.gradle/wrapper /home/chris/.gradle/wrapper └── dists └── gradle-7.4-bin └── c0gwcg53nkjbqw7r0h0umtfvt ├── gradle-7.4 │ ├── bin │ ├── init.d │ ├── lib │ ├── LICENSE │ ├── NOTICE │ └── README ├── gradle-7.4-bin.zip ├── gradle-7.4-bin.zip.lck └── gradle-7.4-bin.zip.ok 7 directories, 6 files ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
