Skip to content

Commit

Permalink
fix(PR): fix preview step for multiple stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Boden committed Oct 25, 2023
1 parent 3536405 commit 50ab7c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ runs:
github.event_name == 'pull_request'
}}
run: |
if [[ -z ${{ steps.list.outputs.stdout }} ]]; then
STACKS='${{ steps.list.outputs.stdout }}'
if [[ -z "$STACKS" ]]; then
echo >>${{ inputs.preview-comment-file }} '### No changed stacks.'
cat ${{ inputs.preview-comment-file }} >>$GITHUB_STEP_SUMMARY
else
Expand Down

0 comments on commit 50ab7c7

Please sign in to comment.