Skip to content

Commit 90682ef

Browse files
committed
Refactor so newlines are preserved
1 parent b94604d commit 90682ef

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/markdown_equations.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,10 @@ jobs:
7979

8080
# Generate and commit equation SVG files for README.md files:
8181
- name: 'Generate and commit equation SVG files'
82+
env:
83+
CHANGED_PACKAGES: ${{ join( fromJSON( steps.changed-packages.outputs.packages ), '\n' )}}
8284
run: |
83-
files=$(${{ join( fromJSON( steps.changed-packages.outputs.packages ), '\n' )}} | sed 's/.*/lib\/node_modules\/&\/README.md/' | tr '\n' ' ' )
85+
files=$( echo "$CHANGED_PACKAGES" | sed 's/.*/lib\/node_modules\/&\/README.md/' | tr '\n' ' ' )
8486
echo $files
8587
make markdown-svg-equations-files FILES=$files
8688
git config --local user.email "noreply@stdlib.io"

0 commit comments

Comments
 (0)