diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0267de4..867611f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -123,7 +123,10 @@ jobs: needs: - test runs-on: ubuntu-20.04 - if: github.ref == 'refs/heads/master' + if: > + (github.event_name == 'push' && github.ref == 'refs/heads/master') + || + (github.event_name == 'create' && github.event.ref_type == 'tag') steps: - uses: actions/checkout@v2