From 00a444fb92725362946673ac4d9873ac8f438602 Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Thu, 20 Feb 2025 13:06:01 -0500 Subject: [PATCH] fix: only run release if releases_create == 'true' --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 50c7468e7..236f9964c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -435,7 +435,7 @@ jobs: create-draft-release: # Only run if release-please created a release - if: needs.release-please.outputs.releases_created + if: needs.release-please.outputs.releases_created == 'true' runs-on: ubuntu-latest needs: [release-please, test-api, build-plugin] steps: @@ -460,5 +460,5 @@ jobs: # For each file in release directory for file in release/*; do echo "Uploading $file to release..." - gh release upload ${{ needs.release-please.outputs.tag_name }} "$file" --clobber + gh release upload "${{ needs.release-please.outputs.tag_name }}" "$file" --clobber done