Fix file exists checks

This commit is contained in:
Franck Nijhof
2021-01-13 01:22:51 +01:00
parent c488fa9b46
commit f7391453f3
+2 -2
View File
@@ -29,12 +29,12 @@ runs:
run: |
path="${{ inputs.path }}"
path="${path%/}"
if [[ -d "${path}" ]]; then
if [[ ! -d "${path}" ]]; then
echo "::error ::Could not find specified configuration path: ${path}"
exit 1
fi
if [[ -f "${path}/configuration.yaml" ]]; then
if [[ ! -f "${path}/configuration.yaml" ]]; then
echo "::error ::Could not find configuration.yaml file in: ${path}"
exit 1
fi