Commit 191d9cc
authored
clangpdb-ci.yml: Fix string replacement (#552)
String replacement did not occur as expected with nunjucks. The
yaml/json formatted strings were not treated as raw strings as expected,
resulting in unexpected formatting of inputs.
## Example of Incorrect formatting:
### Example 1:
In this example, both the python version and package config inputs need
to be wrapped in quotes
<img width="561" height="328" alt="image"
src="https://github.com/user-attachments/assets/ba5c4688-c554-4165-ac8f-5a0037a640dc"
/>
### Example 2:
In this example, package config value replacement value needed to be
treated as a raw string, so the `|` was used
<img width="393" height="561" alt="image"
src="https://github.com/user-attachments/assets/6e1b6160-a6c0-4849-997a-302a6bd3f6ad"
/>1 parent bcfc853 commit 191d9cc
2 files changed
Lines changed: 12 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
615 | 614 | | |
616 | 615 | | |
617 | 616 | | |
| |||
654 | 653 | | |
655 | 654 | | |
656 | 655 | | |
657 | | - | |
658 | 656 | | |
659 | 657 | | |
660 | 658 | | |
| |||
667 | 665 | | |
668 | 666 | | |
669 | 667 | | |
670 | | - | |
671 | 668 | | |
672 | 669 | | |
673 | 670 | | |
| |||
679 | 676 | | |
680 | 677 | | |
681 | 678 | | |
682 | | - | |
683 | 679 | | |
684 | 680 | | |
685 | 681 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | | - | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| |||
0 commit comments