File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ echo "Ensuring cache directory exists: $CACHE_DIR"
30
30
31
31
# Download cache from S3
32
32
echo " Restoring cache from S3 bucket: $BUCKET (region: $REGION )"
33
- if aws s3 sync " s3://$BUCKET " " $CACHE_DIR " --region " $REGION " --quiet 2> /dev/null ; then
33
+ if aws s3 sync " s3://$BUCKET " " $CACHE_DIR " --region " $REGION " --only-show-errors ; then
34
34
CACHED_FILES=$( find " $CACHE_DIR " -type f 2> /dev/null | wc -l)
35
35
echo " Cache restored successfully ($CACHED_FILES files)"
36
36
Original file line number Diff line number Diff line change 56
56
echo " Saving cache to S3 bucket: $BUCKET (region: $REGION )"
57
57
echo " Uploading $ARTIFACT_COUNT files"
58
58
59
- if aws s3 sync " $CACHE_DIR " " s3://$BUCKET " --region " $REGION " --quiet 2> /dev/null ; then
59
+ if aws s3 sync " $CACHE_DIR " " s3://$BUCKET " --region " $REGION " --only-show-errors ; then
60
60
echo " Cache saved successfully"
61
61
else
62
62
echo " Warning: Failed to save cache (this won't fail the build)"
You can’t perform that action at this time.
0 commit comments