We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08cdd43 commit 7ab0f5bCopy full SHA for 7ab0f5b
.github/workflows/maven-master-pulls.yml
@@ -34,10 +34,10 @@ jobs:
34
35
- name: Check local context
36
run: |
37
- if find . -type d -name "target" | grep -q .; then
38
- if [ -n "$matches" ]; then
39
- echo "Target directory found at:"
40
- echo "$matches"
+ matches=$(find . -type d -name "target")
+ if [ -n "$matches" ]; then
+ echo "Target directory found at:"
+ echo "$matches"
41
else
42
echo "Target directory does not exist."
43
echo "$PWD"
0 commit comments