Skip to content

Commit

Permalink
also output min/max php/branch
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Nov 3, 2023
1 parent 3302059 commit 54b437b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38888,6 +38888,10 @@ function onlyUnique(value, index, array) {
core.setOutput("branches", JSON.stringify(branches));
core.setOutput("ocp-branches", JSON.stringify(branches.map(branch => `dev-${branch}`)));
core.setOutput("php-versions", JSON.stringify(php));
core.setOutput("php-min", JSON.stringify([phpMin]));
core.setOutput("php-max", JSON.stringify([phpMax]));
core.setOutput("branches-min", JSON.stringify([branches[0]]));
core.setOutput("branches-max", JSON.stringify([branches.pop()]));
core.setOutput("matrix", JSON.stringify({
include: matrix
}));
Expand Down
4 changes: 4 additions & 0 deletions src/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ function onlyUnique(value, index, array) {
core.setOutput("branches", JSON.stringify(branches));
core.setOutput("ocp-branches", JSON.stringify(branches.map(branch => `dev-${branch}`)));
core.setOutput("php-versions", JSON.stringify(php));
core.setOutput("php-min", JSON.stringify([phpMin]));
core.setOutput("php-max", JSON.stringify([phpMax]));
core.setOutput("branches-min", JSON.stringify([branches[0]]));
core.setOutput("branches-max", JSON.stringify([branches.pop()]));
core.setOutput("matrix", JSON.stringify({
include: matrix
}));
Expand Down

0 comments on commit 54b437b

Please sign in to comment.