From a8004011cc9ec87513936cac4ee3e08d129b190d Mon Sep 17 00:00:00 2001 From: EncodedVenom Date: Sat, 19 Oct 2024 19:55:54 -0400 Subject: [PATCH] change to file --- .github/workflows/analysis.yaml | 4 ++-- scripts/gh-warn-luau-analyze.sh | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/analysis.yaml b/.github/workflows/analysis.yaml index 00fc8be2..a11b2843 100644 --- a/.github/workflows/analysis.yaml +++ b/.github/workflows/analysis.yaml @@ -16,5 +16,5 @@ jobs: - name: Analyze run: | - output=$(luau-analyze src || true) # Suppress errors for now. - bash scripts/gh-warn-luau-analyze.sh "$output" + (luau-analyze src || true) > analyze-log.txt # Suppress errors for now. + cat analyze-log.txt | ./scripts/gh-warn-luau-analyze.sh diff --git a/scripts/gh-warn-luau-analyze.sh b/scripts/gh-warn-luau-analyze.sh index b2afd74b..81b170a5 100644 --- a/scripts/gh-warn-luau-analyze.sh +++ b/scripts/gh-warn-luau-analyze.sh @@ -1,4 +1,3 @@ -# Parse the output and generate GitHub Actions warnings while IFS="" read -r line || [ -n "$line" ]; do echo "$line"