Change "steps" to "needs" in the `release` if expression

This commit is contained in:
kopackiw 2022-11-08 15:18:53 +01:00
parent 9759d926ea
commit dade3052cf
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ jobs:
- { target: aarch64-apple-darwin, os: macOS-latest } - { target: aarch64-apple-darwin, os: macOS-latest }
- { target: x86_64-pc-windows-msvc, os: windows-latest } - { target: x86_64-pc-windows-msvc, os: windows-latest }
runs-on: ${{matrix.os}} runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -91,7 +91,7 @@ jobs:
release: release:
name: Release name: Release
if: ${{ steps.calculate-release-flags.outputs.release-detected == 'true' }} if: ${{ needs.calculate-release-flags.outputs.release-detected == 'true' }}
needs: binaries needs: binaries
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: