diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9fc143eb2..094aed610 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -354,7 +354,6 @@ jobs: name: 📦 Prepare release needs: [info] runs-on: ubuntu-latest - if: ${{ (!github.env.DEV_ENVIRONMENT) && (github.env.RELEASE_ON_GITHUB) }} steps: - name: Debug if conditions run: | @@ -362,7 +361,7 @@ jobs: echo "github.env.RELEASE_ON_GITHUB: ${{ env.RELEASE_ON_GITHUB }}" echo "needs.info.outputs.exists: ${{ needs.info.outputs.exists }}" - echo "${{ env.RELEASE_ON_GITHUB == 'true' && env.DEV_ENVIRONMENT == 'false' }}" + echo "${{ (github.env.RELEASE_ON_GITHUB == 'true') && (github.env.DEV_ENVIRONMENT == 'false') }}" echo "${{ env.RELEASE_ON_GITHUB == 'true' && env.DEV_ENVIRONMENT == 'false' && needs.info.outputs.exists == 'false' }}" release-github: