Yet more env testing

This commit is contained in:
Josh Stewart 2022-09-07 14:51:57 +10:00
parent 5d6c13f7a2
commit 333d150a17
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ jobs:
cd $GITHUB_WORKSPACE/misra/
chmod +x check_misra.sh
./check_misra.sh -c /usr/bin
echo "VIOLATIONS=`cat .results/error_count.txt`" >> $GITHUB_ENV
NumViolations = $(cat .results/error_count.txt)
echo "VIOLATIONS=$NumViolations" >> $GITHUB_ENV
cat $NumViolations
- name: Save output to Gist
if: github.event_name != 'pull_request' && github.repository_owner == 'noisymime'