ci: fix upload failed job log script

This commit is contained in:
Fu Hanxi 2023-11-23 08:03:42 +01:00
parent ceb9e42058
commit 8ce0b8bf73
No known key found for this signature in database
GPG Key ID: 19399699CF3C4B16

View File

@ -173,10 +173,9 @@ variables:
test "$CI_CCACHE_STATS" == 1 && test -n "$(which ccache)" && ccache --show-stats || true
.upload_failed_job_log_artifacts: &upload_failed_job_log_artifacts |
- |
if [ $CI_JOB_STATUS = "failed" ]; then
python tools/ci/artifacts_handler.py upload --type logs
fi
if [ $CI_JOB_STATUS = "failed" ]; then
python tools/ci/artifacts_handler.py upload --type logs
fi
.before_script:minimal:
before_script: