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 8dc6ca8 commit e30163c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,26 @@ jobs:
id: prod
run: |
cd packages/\@glimmer
sizes=$(dust --ignore_hidden \
dust --ignore_hidden \
--reverse --apparent-size \
--filter ".+\/dist\/dev\/index.js$" \
--no-percent-bars --only-dir --depth 1)
--no-percent-bars --only-dir --depth 1 > out.txt
echo -e $sizes
echo 'foo<<EOF' >> $GITHUB_OUTPUT
echo -e "sizes="$sizes" >> $GITHUB_OUTPUT
echo -e "sizes="$(cat out.txt)" >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
- name: "Get sizes for production outputs"
id: dev
run: |
cd packages/\@glimmer
sizes=$(dust --ignore_hidden \
dust --ignore_hidden \
--reverse --apparent-size \
--filter ".+\/dist\/prod\/index.js$" \
--no-percent-bars --only-dir --depth 1)
--no-percent-bars --only-dir --depth 1 > out.txt
echo -e $sizes
echo 'foo<<EOF' >> $GITHUB_OUTPUT
echo -e "sizes="$sizes" >> $GITHUB_OUTPUT
echo -e "sizes="$(cat out.txt)" >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
- uses: mshick/add-pr-comment@v2
Expand Down

0 comments on commit e30163c

Please sign in to comment.