From a16f4a08dd86a36ff02f9b004af8ebbc790b8047 Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Mon, 9 Sep 2024 15:23:36 -0500 Subject: [PATCH] Update test-hosted-runners.yml --- .github/workflows/test-hosted-runners.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-hosted-runners.yml b/.github/workflows/test-hosted-runners.yml index a85499f..246d170 100644 --- a/.github/workflows/test-hosted-runners.yml +++ b/.github/workflows/test-hosted-runners.yml @@ -45,7 +45,13 @@ jobs: shell: bash - name: Compare files - run: diff -qr artifact artifact2 + run: | + diff_output=$(diff -qr artifact artifact2 | grep -v -e '.hidden' -e 'subdir/.hidden_also') + if [ -n "$diff_output" ]; then + echo "Unexpected differences found:" + echo "$diff_output" + exit 1 + fi shell: bash - name: Check for absence of symlinks