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

This commit is contained in:
2026-03-16 23:03:06 +03:00
parent 01eebbf32a
commit e31f51c733
+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 ' + INPUT_REF
cmd = 'git -C ' + INPUT_PATH + ' fetch --progress --depth ' + DEPTH + ' origin refs/heads/' + INPUT_REF
print(cmd)
exec_cmd(cmd)
cmd = 'git -C ' + INPUT_PATH + ' checkout ' + config['ref']
cmd = 'git -C ' + INPUT_PATH + ' checkout origin/' + config['ref']
print(cmd)
exec_cmd(cmd)