Skip to content

Commit

Permalink
Update cron-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Dec 14, 2024
1 parent 83a2f9b commit 415eb36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cron-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "$all_branches" | grep '^develop$'
} | sed 's/^/"/; s/$/"/'
)
echo "json_output=[${matching_branches//$'\n'/,}]" >> $GITHUB_OUTPUT
echo "json_output=[${matching_branches//$'\n'/,}]" | sed 's/"/\\"/g' >> $GITHUB_OUTPUT
echo "branches=${matching_branches//$'\n'/ }" | tr -d '[]\"' >> $GITHUB_OUTPUT
- name: Determine Priority Branch
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
--data '{
"ref": "'"${{ github.ref_name }}"'",
"inputs": {
"branches": '"${{ steps.list-branches.outputs.json_output }}"'
"branches": ${{ steps.list-branches.outputs.json_output }}
}
}'
Expand Down

0 comments on commit 415eb36

Please sign in to comment.