Skip to content

Commit 59e27c3

Browse files
committed
fix summary if deletion fails
Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
1 parent fee2ac8 commit 59e27c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/keep-build-cache-small.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
SUMMARY+="- **Threshold**: ${{ env.CACHE_THRESHOLD_GB }} GB\n"
9999
100100
if [[ "${{ steps.check_threshold.outputs.status }}" == "exceeded" ]]; then
101-
if [[ "${{ steps.verify_deletion.outputs.status }}" == "failed" ]]; then
101+
if [[ "${{ steps.verify_deletion.outputs.status }}" != "success" ]]; then
102102
SUMMARY+="❌ **Cache size exceeded, but deletion failed!**\n"
103103
else
104104
SUMMARY+="🗑️✅ **Cache size exceeded. Image deleted successfully!**\n"

0 commit comments

Comments
 (0)