ci: handle error when running bazel sync --only=repo

When the pnpm lock file is updated this command exits with a non zero error code.
This commit is contained in:
Alan Agius 2025-02-13 11:09:36 +00:00
parent 3d823b3866
commit 1274be0b39

View File

@ -12,7 +12,7 @@
"commands": [ "commands": [
"git restore .yarn/releases/yarn-4.5.0.cjs pnpm-lock.yaml", "git restore .yarn/releases/yarn-4.5.0.cjs pnpm-lock.yaml",
"yarn install --immutable", "yarn install --immutable",
"yarn bazel sync --only=repo" "yarn bazel sync --only=repo || true"
], ],
"fileFilters": [".aspect/rules/external_repository_action_cache/**/*", "pnpm-lock.yaml"], "fileFilters": [".aspect/rules/external_repository_action_cache/**/*", "pnpm-lock.yaml"],
"executionMode": "branch" "executionMode": "branch"