build nightly only from main branch

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2024-01-06 14:53:45 +01:00
parent 089bec7255
commit 2a348cf34e

View File

@@ -53,7 +53,7 @@ jobs:
name: Create nightly/testing tarball
runs-on: ubuntu-latest
needs: froxlor
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' }} && ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Checkout