Обновить executor/cli/git.py
Test Actions / Builder (push) Successful in 7s

This commit is contained in:
2026-03-16 23:07:51 +03:00
parent be6688f37e
commit 88bf75879b
+2 -2
View File
@@ -81,10 +81,10 @@ def handle_git(args):
print(cmd)
exec_cmd(cmd)
cmd = 'git -C ' + INPUT_PATH + ' fetch --progress --depth ' + DEPTH + ' origin refs/heads/' + INPUT_REF
cmd = 'git -C ' + INPUT_PATH + ' fetch --progress --depth ' + DEPTH + ' origin ' + INPUT_REF
print(cmd)
exec_cmd(cmd)
cmd = 'git -C ' + INPUT_PATH + ' checkout origin/' + config['ref']
cmd = 'git -C ' + INPUT_PATH + ' checkout ' + config['ref']
print(cmd)
exec_cmd(cmd)