Backport "fix: update scala-cli.jar
path" to 3.6
#22274
Merged
scala-cli.jar
path" to 3.6
#22274