Skip to content

Commit

Permalink
Try stripping newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed Jul 30, 2024
1 parent 59d3c2c commit 78430be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/validate-schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
- name: 'Get modified files'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}
echo "PR_MODIFIED_FILES<<EOF" >> $GITHUB_ENV
git diff --name-only origin/${{ github.event.pull_request.base.ref }} ${{ github.event.pull_request.head.ref }} -- '**/theme.json' '**/styles/*.json' '**/assets/fonts/*.json' >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "PR_MODIFIED_FILES=$(git diff --name-only origin/${{ github.event.pull_request.base.ref }} ${{ github.event.pull_request.head.ref }} -- '**/theme.json' '**/styles/*.json' '**/assets/fonts/*.json' | tr '\n' ' ')" >> $GITHUB_ENV
- name: Setup Node
uses: actions/setup-node@v4
Expand Down

0 comments on commit 78430be

Please sign in to comment.