File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -169,22 +169,24 @@ jobs:
169169 id : get_versions
170170 run : |
171171 nix run nixpkgs#nushell -- -c '
172- let version = "${{ matrix.version }}"
173- let release_key = if ($version | str contains "orioledb") {
172+ let versions = "${{ matrix.version }}"
173+ let release_key = if ($versions | str contains "orioledb") {
174174 $"postgresorioledb-17"
175175 } else {
176- $"postgres($version )"
176+ $"postgres($versions )"
177177 }
178178 let pg_version = (open ansible/vars.yml | get postgres_release | get $release_key | str trim)
179179
180180 let matrix = {include: [{version: $pg_version}]}
181181 let matrix_json = ($matrix | to json -r)
182182 $"matrix=($matrix_json)" | save --append $env.GITHUB_OUTPUT
183183 '
184+
184185 publish :
185186 needs : get_publish_version
186187 strategy :
187- matrix : ${{ fromJson(needs.get_publish_version.outputs.matrix) }}
188+ matrix :
189+ include : ${{ fromJson(needs.get_publish_version.outputs.matrix).include }}
188190 uses : ./.github/workflows/mirror.yml
189191 with :
190192 version : ${{ matrix.version }}
You can’t perform that action at this time.
0 commit comments