Skip to content

Commit

Permalink
UbuntuGH.yml - idempotency test: Rewrite excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay authored Aug 17, 2024
1 parent 79dd33b commit b27d565
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/UbuntuGH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ jobs:
run: |
cd ~
pwd
find . -type f \( ! -iname "*.log" ! -path "*/.dotfiles/logs/HEAD" \
! -path "*work/_temp/*" ! -path "./runners/*" \
! -name ".wget-hsts" ! -path ".cargo/.global-cache/*" \) -print0 |
find . -type f \( \
! -path ".cargo/.global-cache" \
! -path "*/.dotfiles/logs/HEAD" \
! -path "*work/_temp/*" \
! -path "./runners/*" \
! -iname "*.log" \
! -name ".wget-hsts" \
\) -print0 |
xargs -0 -I{} bash -c 'if ! diff "$1" "/tmp/old_home/$1"; then echo "diff failed for: $1"; exit 1; fi' bash {}

0 comments on commit b27d565

Please sign in to comment.