Added the ability to delete run logs

This commit is contained in:
NianBroken
2024-05-10 22:37:38 +08:00 Unverified
parent 7264a88b25
commit b09ae254fc
+2 -2
View File
@@ -59,10 +59,10 @@ jobs:
GITHUB_RUN_ID: ${{ github.run_id }}
run: |
# 运行主程序
if [ -n "$GHTOKEN" ]; then
python delete_old_runs.py
export BEIJING_TIME="$(TZ='Asia/Shanghai' date +'%Y-%m-%d %H:%M:%S:%3N')"
echo "BEIJING_TIME=$BEIJING_TIME" >> $GITHUB_OUTPUT
if [ -n "$GITHUB_TOKEN" ]; then
python delete_old_runs.py
echo "------"
fi