From ceb1fae7fb39728ff0c4fdafebba31f9384c9f85 Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Tue, 23 Jul 2024 13:02:52 +0200 Subject: [PATCH] fix: convert json output to single-line output --- .github/workflows/reactCompiler.yml | 6 ++++-- ...heck+0.0.0-experimental-b130d5f-20240625+003+json.patch} | 0 2 files changed, 4 insertions(+), 2 deletions(-) rename patches/{react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+001+json.patch => react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+003+json.patch} (100%) diff --git a/.github/workflows/reactCompiler.yml b/.github/workflows/reactCompiler.yml index e0f2fec4953d..e6a9ea489a8d 100644 --- a/.github/workflows/reactCompiler.yml +++ b/.github/workflows/reactCompiler.yml @@ -8,7 +8,7 @@ on: jobs: check: - name: conformity + name: 🧬 Conformity runs-on: ubuntu-latest steps: @@ -20,7 +20,9 @@ jobs: uses: ./.github/actions/composite/setupNode - name: Get list of compiled files (PR) id: new-list - run: echo "NEW_LIST=$(npx react-compiler-healthcheck --json)" >> "$GITHUB_OUTPUT" + run: | + NEW_LIST=$(npx react-compiler-healthcheck --json | jq -c .) + echo "NEW_LIST=$NEW_LIST" >> "$GITHUB_OUTPUT" - uses: actions/checkout@v4 - name: Setup Node uses: ./.github/actions/composite/setupNode diff --git a/patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+001+json.patch b/patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+003+json.patch similarity index 100% rename from patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+001+json.patch rename to patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+003+json.patch