diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index d69055f05..0f7b35dab 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -25,7 +25,7 @@ concurrency: env: # we want to publish on "push to master" only. When we don't want to publish, we want to upload artefacts - SHOULD_PUBLISH: ${{ github.event_name == 'push' && github.ref == 'master' }} + SHOULD_PUBLISH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} jobs: build_linux: @@ -77,7 +77,7 @@ jobs: # we want this to run only when on "push" to "master" if: ${{ env.SHOULD_PUBLISH == 'true' }} run: | - sed -i 's/\"target\": \\[\"deb\"\\]/\"target\": \"${{ matrix.pkg_to_build }}\"/g' package.json; yarn build-release-publish + sed -i 's/"target": \["deb"\]/"target": "${{ matrix.pkg_to_build }}"/g' package.json && yarn build-release-publish build_windows: runs-on: windows-2022