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

14 lines
353 B
Bash

#!/bin/bash
if [[ "$(git -C ./basic status --porcelain)" != "" ]]; then
echo ----------------------------------------
echo git status
echo ----------------------------------------
git status
echo ----------------------------------------
echo git diff
echo ----------------------------------------
git diff
exit 1
fi