Skip to content

ci(.github/workflows): skip php tool installation on cache hit - #7873

Draft
sofisl wants to merge 1 commit into
googleapis:mainfrom
sofisl:fix-php-workflow-timeout
Draft

sofisl wants to merge 1 commit into
googleapis:mainfrom
sofisl:fix-php-workflow-timeout

Conversation

@sofisl

@sofisl sofisl commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Cache google-cloud-php/dev/vendor and the Python site-packages directory alongside ~/.cache/librarian in the PHP workflow so that librarian install can be skipped on cache hits. Also add a restore-keys fallback, shallow clone google-cloud-php for sparse checkouts, and pass -v to librarian install to stream tool installation output on cache misses.

For #7862

Cache google-cloud-php/dev/vendor and the Python site-packages directory alongside ~/.cache/librarian in the PHP workflow so that librarian install can be skipped on cache hits. Also add a restore-keys fallback, shallow clone google-cloud-php for sparse checkouts, and pass -v to librarian install to stream tool installation output on cache misses.

For googleapis#7862
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

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