Added the ability to calculate GPA, and optimized the relevant code to determine whether to run for the first time.

This commit is contained in:
NianBroken
2024-01-31 15:45:12 +08:00 Unverified
parent b5d7b01ca8
commit b3d0952bad
+4 -1
View File
@@ -35,7 +35,10 @@ jobs:
- name: Backup local .txt files # 创建一个备份目录,并将当前目录中的所有.txt文件复制到备份目录 - name: Backup local .txt files # 创建一个备份目录,并将当前目录中的所有.txt文件复制到备份目录
run: | run: |
mkdir backup mkdir backup
cp *.txt backup/ if [ -e *.txt ]; then
cp *.txt backup/
fi
shell: /usr/bin/bash -e {0}
- name: Force push changes from upstream to current main branch # 将上游main分支的更改强制推送到当前main分支 - name: Force push changes from upstream to current main branch # 将上游main分支的更改强制推送到当前main分支
run: | run: |