Don't upload artifacts unless on main

This commit is contained in:
Xiphoseer 2022-01-04 09:33:09 +01:00
parent a9c0cfd9c8
commit ec79825e93

View File

@ -23,6 +23,7 @@ jobs:
testPreset: 'default'
- name: artifacts
uses: actions/upload-artifact@v2
if: ${{ github.ref == 'ref/head/main' }}
with:
name: linux-build
path: |