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 73fd445 commit 8fe1861Copy full SHA for 8fe1861
.github/workflows/samples.yaml
@@ -68,12 +68,14 @@ jobs:
68
echo "Testing $file"
69
if [[ -f ${file} ]]; then
70
# File exists, so needs to be listed.
71
- if ! grep -q basename $file ${README}; then
+ name=basename $file
72
+ if ! grep -q $name ${README}; then
73
echo "Error: Sample not listed in README ($name)"
74
exit 1
75
fi
76
else
77
# File does not exist, ensure it's not listed
78
79
if grep -q $name ${README}; then
80
echo "Error: Sample should not be listed in README ($name)"
81
0 commit comments