Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): clean stale beta artifacts before stable CN upload

Louis Beaumont1701bdafb0d4
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index ecc3a7e2f..78f563cac 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -872,6 +872,14 @@ jobs:
}
}
+ - name: Clean stale beta artifacts before stable upload
+ if: matrix.os_type != 'windows'
+ shell: bash
+ run: |
+ # Remove any leftover beta artifacts from previous builds (self-hosted runners persist)
+ find apps/screenpipe-app-tauri/src-tauri/target -name "*beta*" -type f -delete 2>/dev/null || true
+ echo "Cleaned stale beta artifacts"
+
- name: Upload Assets to CrabNebula Cloud (Non-Windows)
if: matrix.os_type != 'windows' && (needs.check_commit.outputs.should_release == 'true' || github.event_name == 'workflow_dispatch')
uses: crabnebula-dev/[email protected]