Skip to content

Commit

Permalink
use EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jan 9, 2025
1 parent ee883e4 commit 7126552
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
--no-percent-bars --only-dir --depth 1 > out.txt
echo 'sizes<<EOF' >> $GITHUB_OUTPUT
echo -e $(cat out.txt) >> $GITHUB_OUTPUT
while IFS= read -r line; do
echo "$line" >> $GITHUB_OUTPUT
done <<< $(cat out.txt)
echo 'EOF' >> $GITHUB_OUTPUT
cat out.txt
Expand All @@ -48,7 +50,9 @@ jobs:
--no-percent-bars --only-dir --depth 1 > out.txt
echo 'sizes<<EOF' >> $GITHUB_OUTPUT
echo -e $(cat out.txt) >> $GITHUB_OUTPUT
while IFS= read -r line; do
echo "$line" >> $GITHUB_OUTPUT
done <<< $(cat out.txt)
echo 'EOF' >> $GITHUB_OUTPUT
cat out.txt
Expand Down

0 comments on commit 7126552

Please sign in to comment.