nginx/.gitea/actions/checkout/__test__/override-git-version.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

10 lines
180 B
Bash

#!/bin/sh
mkdir override-git-version
cd override-git-version
echo "#!/bin/sh" > git
echo "echo override git version 1.2.3" >> git
chmod +x git
echo "$(pwd)" >> $GITHUB_PATH
cd ..