Release only on main branch
@@ -40,7 +40,7 @@ jobs:
name: reports-${{ runner.os }}
path: build/
- name: 'Release early-access artifacts'
- if: ${{ matrix.os }} == 'ubuntu-latest'
+ if: github.ref == 'refs/heads/main' && ${{ matrix.os }} == 'ubuntu-latest'
uses: marvinpinto/action-automatic-releases@latest
with:
automatic_release_tag: 'early-access'
