From 717c17dd70f0c53add0dfc7f012eedd7fd142370 Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Mon, 9 Sep 2024 15:34:39 -0500 Subject: [PATCH] Updates from editor --- .github/workflows/test-hosted-runners.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-hosted-runners.yml b/.github/workflows/test-hosted-runners.yml index a85499f..0d31739 100644 --- a/.github/workflows/test-hosted-runners.yml +++ b/.github/workflows/test-hosted-runners.yml @@ -44,14 +44,16 @@ jobs: run: tar -xf artifact2/artifact.tar -C artifact2 && rm artifact2/artifact.tar shell: bash + - name: Check for absence of hidden files + run: if [ $(find artifact2 -regex ".*/\..*" | wc -l) != 0 ]; then echo "Hidden files found"; exit 1; fi + shell: bash + - name: Compare files - run: diff -qr artifact artifact2 + run: | + rm artifact/.hidden + diff -qr artifact artifact2 shell: bash - name: Check for absence of symlinks run: if [ $(find artifact2 -type l | wc -l) != 0 ]; then echo "Symlinks found"; exit 1; fi shell: bash - - - name: Check for absence of hidden files - run: if [ $(find artifact2 -regex ".*/\..*" | wc -l) != 0 ]; then echo "Hidden files found"; exit 1; fi - shell: bash