ci:新增清理工作

This commit is contained in:
Liuyf 2025-01-11 10:54:14 +08:00
parent 0d9d608289
commit 62a894b3f3

View File

@ -4,6 +4,7 @@ stages:
- build-artifacts
- release-artifacts
- notification
- clean-up
variables:
LC_ALL: "en_US.UTF-8"
@ -204,4 +205,10 @@ notify_failure:
script:
- bash notify.sh failure
allow_failure: true
when: on_failure
when: on_failure
clean_up:
stage: clean-up
script:
- git reset --hard
when: always