Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco authored May 9, 2024
1 parent 366404f commit bb63d5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ runs:
run: |
data="${{ steps.find-expired.outputs.array }}"
if [ ${#data[@]} -eq 0 ]; then
echo "Found expired branches."
echo "found=true" >> $GITHUB_OUTPUT
else
echo "No expired branches found."
echo "found=false" >> $GITHUB_OUTPUT
fi
Expand All @@ -68,4 +70,4 @@ runs:
run: |
data="${{ steps.find-expired.outputs.array }}"
data=$(printf '"%s"\n' $data|paste -sd, -)
echo "json={\"branch_name\": [$data]}" >> $GITHUB_OUTPUT
echo "json={\"branch_name\": [$data]}" >> $GITHUB_OUTPUT

0 comments on commit bb63d5c

Please sign in to comment.