diff options
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | app/models/ci/build.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG index 9299639a3ab..be3f206402e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -116,6 +116,7 @@ v 8.11.0 (unreleased) - Fix a memory leak caused by Banzai::Filter::SanitizationFilter - Speed up todos queries by limiting the projects set we join with - Ensure file editing in UI does not overwrite commited changes without warning user + - Use artifacts_size to check for build artifacts existence v 8.10.6 (unreleased) - Fix import/export configuration missing some included attributes diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 3d6c6ea3209..6df5db61081 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -351,7 +351,7 @@ module Ci end def artifacts? - !artifacts_expired? && artifacts_file.exists? + !artifacts_expired? && artifacts_size.present? end def artifacts_metadata? |