From b11793dbbc268e55a43481c3d760ae69eb5debb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Mon, 15 Aug 2022 00:18:36 +0200 Subject: [PATCH] Update smoke-tests.yml --- .github/workflows/smoke-tests.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index accc3840..4bd0a658 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -329,18 +329,13 @@ jobs: name: status path: status - - name: Delete control artefact - uses: geekyeggo/delete-artifact@v1 - with: - name: status - - name: Calculate run: | ls -1 status | wc -l > status/total grep false status/* | cut -d":" -f2 | cut -d"," -f1-2 > status/failed echo "scale=2 ; (100*($(cat status/total.txt)-$(cat status/failed.txt | wc -l))/$(cat status/total.txt))" | bc > status/success - rm -f status/* + rm -f status/*.txt - name: Upload status if: ${{ github.repository_owner == 'Armbian' }}