mirror of
https://github.com/icewind1991/nextcloud-version-matrix.git
synced 2026-06-03 09:34:12 +02:00
also generate matrix for ocp branches
This commit is contained in:
parent
8238a96541
commit
334a77e02e
2 changed files with 18 additions and 0 deletions
9
dist/index.js
vendored
9
dist/index.js
vendored
|
|
@ -38948,6 +38948,15 @@ function copy(obj) {
|
|||
include: matrix
|
||||
}));
|
||||
|
||||
core.setOutput("ocp-matrix", JSON.stringify({
|
||||
include: matrix.map(row => {
|
||||
const ocpVersion = `dev-${row["server-versions"]}`;
|
||||
delete row["server-versions"];
|
||||
row["ocp-version"] = ocpVersion;
|
||||
return row;
|
||||
})
|
||||
}));
|
||||
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue