allow builds for non-prs (breaks fork PR builds)

This commit is contained in:
Sean Yesmunt 2021-01-25 14:53:07 -05:00
parent e4b43abe05
commit 549e7bce75

View file

@ -77,23 +77,20 @@ jobs:
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
if: | if: |
startsWith(runner.os, 'linux') && startsWith(runner.os, 'linux')
github.event.pull_request.head.repo.full_name == github.repository
with: with:
name: Linux name: Linux
path: ./dist/electron/*.* path: ./dist/electron/*.*
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
if: | if: |
startsWith(runner.os, 'mac') && startsWith(runner.os, 'mac')
github.event.pull_request.head.repo.full_name == github.repository
with: with:
name: macOS name: macOS
path: ./dist/electron/*.* path: ./dist/electron/*.*
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
if: | if: |
startsWith(runner.os, 'windows') &&
github.event.pull_request.head.repo.full_name == github.repository github.event.pull_request.head.repo.full_name == github.repository
with: with:
name: Windows name: Windows