Fix test action

`yarn all` doesn't necessarily add a newline at the end.
The env reader expects the EOF string to be on its own line,
so if the yarn command does not produce this, the workflow fails.
This commit is contained in:
NoRePercussions 2024-07-05 19:20:01 -04:00
parent 5ec44f8ee5
commit df51e8718f
No known key found for this signature in database

View file

@ -20,6 +20,7 @@ jobs:
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "all_result<<$EOF" >> "$GITHUB_ENV"
yarn all >> "$GITHUB_ENV"
echo >> "$GITHUB_ENV" # yarn all doesn't necessarily produce a newline
echo "$EOF" >> "$GITHUB_ENV"
id: all
- uses: ./