jax-ml / jax

Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more
http://jax.readthedocs.io/
Apache License 2.0
30.63k stars 2.82k forks source link

Install git before actions/checkout #25115

Closed copybara-service[bot] closed 4 days ago

copybara-service[bot] commented 5 days ago

Install git before actions/checkout

This fixes the workflow failing at "Build and install JAX" step as it wasn't able to run git command to fetch the jaxlib git hash

Without git present on the PATH, it seems that actions/checkout (from its logs) will download the code with the GitHub REST API. This results in the code not being a git repository and therefore any subsequent git commands fail.