Skip upload step for forks

This commit is contained in:
disinvite 2023-08-13 17:03:35 -04:00
parent 87938e9b0e
commit c13a5807ed

View File

@ -103,7 +103,7 @@ jobs:
upload:
needs: [build, compare]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'isledecomp/isle' }}
steps:
- uses: actions/checkout@v3
with: