Skip to content

Commit

Permalink
ci: properly escape echo command
Browse files Browse the repository at this point in the history
  • Loading branch information
sdobbert committed Aug 22, 2024
1 parent 3c0cab7 commit 4ef7c94
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
if [ "${{ env.no_tests_found }}" == "true" ]; then
echo "MULTIPLE_FILES=All, ./coverage/all/coverage-summary.json" >> $GITHUB_ENV
else
printf 'MULTIPLE_FILES="All, ./coverage/all/coverage-summary.json\nonly changed, ./coverage/changed/coverage-summary.json"\n' >> $GITHUB_ENV
fi
echo "MULTIPLE_FILES=All, ./coverage/all/coverage-summary.json\nonly changed, ./coverage/changed/coverage-summary.json" >> $GITHUB_ENV
fi
- name: Jest Coverage Comment 💬
if: ${{ github.actor != 'dependabot[bot]' }}
Expand All @@ -76,7 +76,8 @@ jobs:
hide-comment: false
create-new-comment: false
hide-summary: false
multiple-files: ${{ env.MULTIPLE_FILES }}
multiple-files: |
echo -e "${{ env.MULTIPLE_FILES }}"
- name: Get Coverage Comment Id ➡️
if: ${{ env.no_tests_found == 'true' && github.actor != 'dependabot[bot]' }}
Expand Down

0 comments on commit 4ef7c94

Please sign in to comment.