diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d0f2e8..be39ed5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,7 +76,7 @@ jobs: # only for releases - name: upload release asset id: upload-release-asset - if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release' + if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'release' uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}