mirror of
https://github.com/actions/checkout.git
synced 2025-11-05 11:58:20 +08:00
.
This commit is contained in:
@@ -28,7 +28,7 @@ if [ "$?" != "0" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Try to ls-remote to validate credentials work
|
# Try to ls-remote to validate credentials work
|
||||||
git ls-remote origin | head
|
git ls-remote origin 2>&1 | head
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
echo "Failed to validate persisted credential - git ls-remote failed"
|
echo "Failed to validate persisted credential - git ls-remote failed"
|
||||||
popd
|
popd
|
||||||
|
|||||||
Reference in New Issue
Block a user