From 99dae58c18c3991c1c76322b73cb4da70e4ac8bd Mon Sep 17 00:00:00 2001 From: John Date: Sun, 14 Jan 2024 17:18:31 +0100 Subject: [PATCH] fix names, artifacts --- .github/workflows/check.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8d5f0327..c2a4e041 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -29,8 +29,8 @@ jobs: - name: dump csv run: | - docker run -v $PWD:/cfg john30/ebusd --dumpconfig -c /cfg/latest/de | sed -e 's#.*main notice. *##' > /cfg/de.txt \ - && docker run -v $PWD:/cfg john30/ebusd --dumpconfig -c /cfg/latest/en | sed -e 's#.*main notice. *##' > /cfg/en.txt + docker run -v $PWD:/cfg john30/ebusd --dumpconfig -c /cfg/latest/de | sed -e 's#.*main notice. *##' > dump.de \ + && docker run -v $PWD:/cfg john30/ebusd --dumpconfig -c /cfg/latest/en | sed -e 's#.*main notice. *##' > dump.en - name: check count run: | @@ -45,3 +45,11 @@ jobs: sed -e 's#""##g' -e 's#,"[^"]*",#,,#g' dump.de|cut -d , -f 1,2,3,6,7,8 > norm.de \ && sed -e 's#""##g' -e 's#,"[^"]*",#,,#g' dump.en|cut -d , -f 1,2,3,6,7,8 > norm.en \ && diff norm.de norm.en + - + name: archive + uses: actions/upload-artifact@v4 + with: + name: results + path: | + de.json en.json dump.de dump.en + \ No newline at end of file