Skip to content

Commit

Permalink
Tools: Use the correct multiline format for multiple file changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Jul 16, 2024
1 parent b29f304 commit cefd601
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/content-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ jobs:
yarn build:patterns
mkdir "$GITHUB_WORKSPACE/artifacts/"
git diff --name-only source/wp-content/themes/wporg-main-2022/**/*.php
changelist=$(git diff --name-only source/wp-content/themes/wporg-main-2022/**/*.php | xargs yarn --silent screenshot-changes)
echo "changelist=\"$changelist\"" >> "$GITHUB_OUTPUT"
{
echo 'changelist<<EOF'
git diff --name-only source/wp-content/themes/wporg-main-2022/**/*.php | xargs yarn --silent screenshot-changes
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Upload screenshots
id: upload-artifact
Expand Down

0 comments on commit cefd601

Please sign in to comment.