Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zeriyoshi committed Jul 14, 2024
1 parent 31b99dd commit c087f72
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/_mixin_values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
BASE: ${{ inputs.base }}
JOIN: ${{ inputs.join }}
run: |
echo "${BASE}" > "base.json"
echo "${JOIN}" > "join.json"
echo values=$(jq --argjson "mixin" "$(cat "join.json")" '[.[] | $mixin[] as $y | . + $y]' "base.json") >> $GITHUB_OUTPUT
echo "${BASE}" | jq --argjson "mixin" "$("${JOIN}")" '[.[] | $mixin[] as $y | . + $y]' > "result.json"
echo values=$(cat "result.json") >> $GITHUB_OUTPUT
outputs:
values: ${{ steps.mixin.outputs.values }}

0 comments on commit c087f72

Please sign in to comment.