From 0aad39983ad6f066ef773028221ca9f725b1476c Mon Sep 17 00:00:00 2001 From: Bruno Menezes Date: Thu, 8 Oct 2026 11:12:18 +0100 Subject: [PATCH] ci: publish release artifacts after a partial publish failure --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9e6b8ad3..760ac525 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -67,7 +67,7 @@ jobs: publish-script: bun run publish-packages - name: Release CLI binaries - if: ${{ steps.changeset.outputs.published == 'true' && contains(fromJSON(steps.changeset.outputs.published-packages).*.name, '@cartesi/cli') }} + if: ${{ !cancelled() && steps.changeset.outputs.published == 'true' && contains(fromJSON(steps.changeset.outputs.published-packages).*.name, '@cartesi/cli') }} run: | for f in cartesi-*; do tar -czf "$f.tar.gz" "$f"; done VERSION=$(jq -r '.[] | select(.name=="@cartesi/cli") | .version' <<< '${{ steps.changeset.outputs.published-packages }}') @@ -80,6 +80,6 @@ jobs: build_sdk: name: Build SDK needs: release - if: ${{ needs.release.outputs.published == 'true' && contains(fromJSON(needs.release.outputs.publishedPackages).*.name, '@cartesi/sdk') }} + if: ${{ !cancelled() && needs.release.outputs.published == 'true' && contains(fromJSON(needs.release.outputs.publishedPackages).*.name, '@cartesi/sdk') }} uses: ./.github/workflows/sdk.yaml secrets: inherit