Yikun commented on PR #37618:
URL: https://github.com/apache/spark/pull/37618#issuecomment-1222539954

   ```yaml
   key: build-${{ hashFiles('**/pom.xml', 'project/build.properties', 
'build/mvn', 'build/sbt', 'build/sbt-launch-lib.bash', 
'build/spark-build-info') }}
   restore-keys: |
     build-${{ hashFiles('**/pom.xml', 'project/build.properties', 'build/mvn', 
'build/sbt', 'build/sbt-launch-lib.bash', 'build/spark-build-info') }}
   ```
   
   emmm...BTW, to avoid this kind of problem happened again, I think 
`restore-keys` should be match strictly to restore cache, otherwise it will use 
recent `build-` cache, once local repo cache has some dependency error, the CI 
will not figure out and then give a fake green.
   
   Need some inputs from @HyukjinKwon @dongjoon-hyun WDYT?


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

Reply via email to