add
This commit is contained in:
+10
-10
@@ -71,16 +71,6 @@ jobs:
|
||||
"your code will have an uncontrollable fatal bug!"
|
||||
fi
|
||||
|
||||
- name: Backup files
|
||||
run: |
|
||||
mkdir -p Backup
|
||||
find . -type f -name "*.txt" -exec cp --parents {} ./Backup \;
|
||||
find . -type f -name "*.yml" -exec cp --parents {} ./Backup \;
|
||||
|
||||
- name: Restore files
|
||||
run: |
|
||||
cp -r Backup/* .
|
||||
|
||||
- name: Force push changes to main branch
|
||||
run: |
|
||||
# 将更改强制推送到main分支
|
||||
@@ -117,6 +107,16 @@ jobs:
|
||||
# 使用pip安装项目的依赖项
|
||||
pip install requests rsa pyquery
|
||||
|
||||
- name: Backup files
|
||||
run: |
|
||||
mkdir -p Backup
|
||||
find . -type f -name "*.txt" -exec cp --parents {} ./Backup \;
|
||||
find . -type f -name "*.yml" -exec cp --parents {} ./Backup \;
|
||||
|
||||
- name: Restore files
|
||||
run: |
|
||||
cp -r Backup/* .
|
||||
|
||||
- name: Run main program
|
||||
id: run_main_program
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user