From df51e8718fef8915465f223b276c515932e21593 Mon Sep 17 00:00:00 2001 From: NoRePercussions Date: Fri, 5 Jul 2024 19:20:01 -0400 Subject: [PATCH] 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. --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 024c279..6671959 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: ./