File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919
2020jobs :
2121 preparation :
22- runs-on : ubuntu-22.04
22+ runs-on : ubuntu-latest
2323 # This should allow parallel runs in a chain, e.g. OSS->Content->Experience->Commerce
2424 # whilst allowing Satis to process
2525 timeout-minutes : 30
@@ -153,12 +153,12 @@ jobs:
153153 # if they exist, to update the values of the keys in the require object.
154154 - name : Patch composer require versions
155155 run : |
156- jq --argfile release release.json '
156+ jq --slurpfile release <(cat release.json) '
157157 .require |= (
158158 to_entries |
159159 map({
160160 key: .key,
161- value: (if ($release[.key]) then $release[.key] else .value end)
161+ value: (if ($release[0][ .key]) then $release[0] [.key] else .value end)
162162 }) | from_entries
163163 )
164164 ' composer.json > composer.tmp
You can’t perform that action at this time.
0 commit comments