From 5d6ff47688343739ca744075204191f03af31e6d Mon Sep 17 00:00:00 2001 From: maancham Date: Wed, 6 Mar 2024 11:45:30 -0500 Subject: [PATCH] chore: test .txt file saving --- .github/workflows/periodic-audit.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/periodic-audit.yaml b/.github/workflows/periodic-audit.yaml index daecb4bf4..7ad64fbff 100644 --- a/.github/workflows/periodic-audit.yaml +++ b/.github/workflows/periodic-audit.yaml @@ -32,9 +32,10 @@ jobs: id: cargo-audit continue-on-error: true run: | - AUDIT_OUTPUT=$(cargo audit) - echo $AUDIT_OUTPUT - echo "results=$AUDIT_OUTPUT" >> GITHUB_OUTPUT + cargo audit > audit_output.txt + cat audit_output.txt + RESULTS=$(cat audit_output.txt) + echo "results=$RESULTS" >> GITHUB_OUTPUT # audit_output=$(cargo audit) # echo "trimmed_results=audit_output" >> GITHUB_OUTPUT