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:
169
169
id : get_versions
170
170
run : |
171
171
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") {
174
174
$"postgresorioledb-17"
175
175
} else {
176
- $"postgres($version )"
176
+ $"postgres($versions )"
177
177
}
178
178
let pg_version = (open ansible/vars.yml | get postgres_release | get $release_key | str trim)
179
179
180
180
let matrix = {include: [{version: $pg_version}]}
181
181
let matrix_json = ($matrix | to json -r)
182
182
$"matrix=($matrix_json)" | save --append $env.GITHUB_OUTPUT
183
183
'
184
+
184
185
publish :
185
186
needs : get_publish_version
186
187
strategy :
187
- matrix : ${{ fromJson(needs.get_publish_version.outputs.matrix) }}
188
+ matrix :
189
+ include : ${{ fromJson(needs.get_publish_version.outputs.matrix).include }}
188
190
uses : ./.github/workflows/mirror.yml
189
191
with :
190
192
version : ${{ matrix.version }}
You can’t perform that action at this time.
0 commit comments