diff --git a/dist/index.js b/dist/index.js index bc8ffb1..b6e52c1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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); } diff --git a/src/action.js b/src/action.js index 9b01832..0d84330 100644 --- a/src/action.js +++ b/src/action.js @@ -160,6 +160,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); }