diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5dbcf3f..23d1e92 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -104,8 +104,8 @@ jobs: package: runs-on: ubuntu-latest - if: always() && needs.build.result != 'failed' && (github.event_name != 'schedule' || needs.version.outputs.isNew == 'true') - needs: build + if: always() && needs.build.result == 'success' && (github.event_name != 'schedule' || needs.version.outputs.isNew == 'true') + needs: [version, build] env: VERSION: ${{ inputs.version || needs.version.outputs.version }}