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