diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a4e41e..083237e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,11 +2,10 @@ name: build on: push: - branches: - - main pull_request: branches: - main + - develop jobs: linux: @@ -36,7 +35,7 @@ jobs: run: cmake --build build --parallel - name: Publish release - if: github.ref_name == 'master' + if: ${{ env.publish_tag && github.ref_name == 'master' }} uses: ncipollo/release-action@v1 with: allowUpdates: true