mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-14 20:41:15 +00:00
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:
parent
5ec44f8ee5
commit
df51e8718f
1 changed files with 1 additions and 0 deletions
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
|
@ -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: ./
|
||||
|
|
|
|||
Loading…
Reference in a new issue