mirror of
https://github.com/google/adk-docs.git
synced 2026-09-14 16:16:59 +08:00
68b5ece85a
* Fix python-tests workflow: split get_sample_dirs into its own job The build job declares `needs: get_sample_dirs`, but get_sample_dirs was defined as a step inside build rather than as a separate job. This caused GitHub Actions to reject the workflow with: The workflow must contain at least one job with no dependencies. This commit: - Extracts get_sample_dirs into its own job with proper outputs - Replaces undefined $PYTHON_DIR with the actual path (samples/python) - Formats the find output as JSON array for fromJson() compatibility - Adds an if condition to skip the build matrix when no samples exist Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com> * Update actions/checkout from v4 to v6 --------- Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com> Co-authored-by: Kristopher Overholt <koverholt@google.com>
3.2 KiB
3.2 KiB