From 18cbdf678d4239fe00d44145c29fe2809ccbea86 Mon Sep 17 00:00:00 2001 From: Janez T Date: Wed, 22 Oct 2025 19:27:37 +0200 Subject: [PATCH] fix: Allow artifact index and manifest generation to continue on error --- .github/workflows/build-multiplatform.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-multiplatform.yml b/.github/workflows/build-multiplatform.yml index ed99d6f..4279a22 100644 --- a/.github/workflows/build-multiplatform.yml +++ b/.github/workflows/build-multiplatform.yml @@ -657,6 +657,9 @@ jobs: env: R2_PUBLIC_URL: ${{ secrets.R2_PUBLIC_URL }} run: | + # Don't exit on error - generate index for whatever artifacts exist + set +e + generate_index() { local BUILD_DIR="$1" local BASE_URL="$2" @@ -1103,6 +1106,9 @@ jobs: - name: Create build manifests run: | + # Don't exit on error - create manifests for whatever artifacts exist + set +e + # Create manifest for build-specific directory (after index.html is generated) cat > "r2-upload/unstable/${{ steps.metadata.outputs.build_prefix }}/manifest.json" <