Skip to content

Commit

Permalink
Try something that works locally
Browse files Browse the repository at this point in the history
  • Loading branch information
gchristov committed Oct 17, 2024
1 parent 5d07800 commit 8044515
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,4 @@ jobs:
- uses: actions/checkout@v4
- name: Get Root Directories
run: |
git diff --name-only origin/master -- $(git rev-parse --abbrev-ref HEAD) | while IFS= read -r file; do
dir=$(dirname "$file")
root_dir=$(cd "$dir"; cd -; pwd)
echo "$root_dir"
done
git diff --name-only origin/HEAD | while IFS= read -r file; do [[ -d "${file%%/*}" ]] && echo "${file%%/*}"; done | sort | uniq

0 comments on commit 8044515

Please sign in to comment.