fix: use Python shell for Conan settings patch

- Switch to shell: python since PyYAML is pre-installed on Ubuntu
- Move export statement before Python heredoc so env var is available
- Adjust PR matrix logic: only release/candidate PRs get full matrix
- PRs to dev now use minimal matrix (most are feature branches)

[ci-nix-full-matrix]
This commit is contained in:
Nicholas Dudfield
2025-08-19 13:59:23 +07:00
parent 7ced4de6f2
commit e559008fc8
2 changed files with 13 additions and 20 deletions

View File

@@ -113,8 +113,8 @@ jobs:
use_full = True
elif event_name == "pull_request":
# For PRs, base_ref is just the branch name (e.g., "dev", not "refs/heads/dev")
# Check if the PR targets a main branch
use_full = base_ref in ["dev", "release", "candidate"]
# Check if the PR targets release or candidate (more critical branches)
use_full = base_ref in ["release", "candidate"]
else:
# For pushes, ref is the full reference (e.g., "refs/heads/dev")
use_full = ref in main_branches