Update main.yml

This commit is contained in:
碎念_Nian
2024-02-02 23:53:42 +08:00
committed by GitHub
Unverified
parent cf455ab1fb
commit 6335066eb1
+1 -1
View File
@@ -49,7 +49,7 @@ jobs:
run: | run: |
git checkout main git checkout main
git reset --hard upstream/main git reset --hard upstream/main
git push origin main --force || (for i in {1..10}; do echo "你需要手动同步上游分支\n"; done) git push origin main --force || (for i in {1..12}; do echo "你需要手动同步上游分支\n"; done)
# 从备份目录将.txt文件还原到当前目录,然后删除备份目录 # 从备份目录将.txt文件还原到当前目录,然后删除备份目录
- name: Restore local .txt files and delete backup - name: Restore local .txt files and delete backup