nginx/.gitea/actions/checkout/__test__/verify-submodules-false.sh
huangzhiqiang c43c66b643
Some checks failed
Build NGINX on Ubuntu / build-and-deploy (push) Failing after 1s
use local git actions checkout
2025-06-10 12:28:33 +08:00

11 lines
263 B
Bash

#!/bin/bash
if [ ! -f "./submodules-false/regular-file.txt" ]; then
echo "Expected regular file does not exist"
exit 1
fi
if [ -f "./submodules-false/submodule-level-1/submodule-file.txt" ]; then
echo "Unexpected submodule file exists"
exit 1
fi