From 49f91537e9653b8563852b5da534da4fc3a88358 Mon Sep 17 00:00:00 2001 From: Philip Peterson Date: Sat, 26 Apr 2025 14:23:43 -0700 Subject: [PATCH] [ci] remove empty assets --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8995306e..be9c48af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,6 +134,12 @@ jobs: - name: List downloaded artifacts run: ls -R ./artifacts + + - name: Ensure non-empty artifacts + run: | + find artifacts/ -type f -empty -delete + echo "Cleaned up any zero-byte files." + ls -R artifacts/ - name: Create GitHub Release uses: softprops/action-gh-release@v2