diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 86621b60d2..e128efa00a 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -59,13 +59,13 @@ jobs: - name: Build but do not publish ${{ matrix.pkg_to_build }} # we want this to run always, except on "push" to "master" - if: !env.SHOULD_PUBLISH + if: ${{ !env.SHOULD_PUBLISH }} run: | sed -i 's/"target": \["deb"\]/"target": "${{ matrix.pkg_to_build }}"/g' package.json && yarn build-release - name: Upload artefacts ${{ matrix.pkg_to_build }} # we want this to run always, except on "push" to "master" - if: !env.SHOULD_PUBLISH + if: ${{ !env.SHOULD_PUBLISH }} uses: ./actions/upload_prod_artefacts with: upload_prefix: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.pkg_to_build }}-others @@ -95,7 +95,7 @@ jobs: - name: Build but do not publish # we want this to run always, except on "push" to "master" - if: !env.SHOULD_PUBLISH + if: ${{ !env.SHOULD_PUBLISH }} run: yarn build-release - name: Upload artefacts @@ -136,14 +136,14 @@ jobs: - name: Build but do not publish # we want this to run always, except on "push" to "master" - if: !env.SHOULD_PUBLISH + if: ${{ !env.SHOULD_PUBLISH }} run: | source ./build/setup-mac-certificate.sh yarn build-release --config.mac.bundleVersion=${{ github.ref }} - name: Upload artefacts # we want this to run always, except on "push" to "master" - if: !env.SHOULD_PUBLISH + if: ${{ !env.SHOULD_PUBLISH }} uses: ./actions/upload_prod_artefacts with: upload_prefix: ${{ runner.os }}-${{ runner.arch }}