fix(CI): do not run core_build on forks

This commit is contained in:
Patrick Lewis
2020-11-02 07:09:46 -08:00
committed by GitHub
parent 18d7f8b92f
commit 6b163290b1

View File

@@ -36,6 +36,7 @@ jobs:
name: ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.modules }}-modules
env:
COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- uses: actions/checkout@v2
- name: Checkout modules
@@ -69,6 +70,7 @@ jobs:
fail-fast: false
runs-on: macos-10.15
name: macos-10.15
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- uses: actions/checkout@v2
- name: Cache
@@ -91,6 +93,7 @@ jobs:
fail-fast: false
runs-on: windows-2019
name: windows-2019-MSVC16
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- uses: actions/checkout@v2
- name: Configure OS
@@ -116,6 +119,7 @@ jobs:
strategy:
fail-fast: true
runs-on: ubuntu-20.04
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- uses: actions/checkout@v2
- name: Configure
@@ -130,6 +134,7 @@ jobs:
strategy:
fail-fast: true
runs-on: ubuntu-20.04
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- uses: actions/checkout@v2
- name: Configure
@@ -144,6 +149,7 @@ jobs:
strategy:
fail-fast: true
runs-on: ubuntu-20.04
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- uses: actions/checkout@v2
- name: Configure
@@ -158,6 +164,7 @@ jobs:
strategy:
fail-fast: true
runs-on: ubuntu-20.04
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- uses: actions/checkout@v2
- name: Configure