Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install git before actions/checkout #25115

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Install git before actions/checkout #25115

merged 1 commit into from
Nov 27, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Nov 26, 2024

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.

@copybara-service copybara-service bot force-pushed the test_700336969 branch 4 times, most recently from f88f9d0 to 11c29b5 Compare November 26, 2024 22:57
@copybara-service copybara-service bot changed the title Mark JAX git repository as safe in the asan workflow Install git before actions/checkout Nov 26, 2024
@copybara-service copybara-service bot force-pushed the test_700336969 branch 4 times, most recently from ac705a9 to 5f63f5e Compare November 27, 2024 02:04
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.

PiperOrigin-RevId: 700518101
@copybara-service copybara-service bot merged commit afcef67 into main Nov 27, 2024
@copybara-service copybara-service bot deleted the test_700336969 branch November 27, 2024 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant