Fix workflows
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
|||||||
triage:
|
triage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: C++
|
name: C++
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
if: github.repository == 'liyunfan1223/azerothcore-wotlk'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: AzerothCore codestyle
|
- name: AzerothCore codestyle
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
name: ${{ matrix.os }}-${{ matrix.compiler }}-nopch
|
name: ${{ matrix.os }}-${{ matrix.compiler }}-nopch
|
||||||
env:
|
env:
|
||||||
COMPILER: ${{ matrix.compiler }}
|
COMPILER: ${{ matrix.compiler }}
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
if: github.repository == 'liyunfan1223/azerothcore-wotlk'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Cache
|
- name: Cache
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
name: ${{ matrix.os }}-${{ matrix.compiler }}-pch
|
name: ${{ matrix.os }}-${{ matrix.compiler }}-pch
|
||||||
env:
|
env:
|
||||||
COMPILER: ${{ matrix.compiler }}
|
COMPILER: ${{ matrix.compiler }}
|
||||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
if: github.repository == 'liyunfan1223/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Configure OS
|
- name: Configure OS
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPILER: ${{ matrix.compiler }}
|
COMPILER: ${{ matrix.compiler }}
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'azerothcore/azerothcore-wotlk'
|
github.repository == 'liyunfan1223/azerothcore-wotlk'
|
||||||
&& !github.event.pull_request.draft
|
&& !github.event.pull_request.draft
|
||||||
&& (
|
&& (
|
||||||
github.ref == 'refs/heads/master'
|
github.ref == 'refs/heads/master'
|
||||||
|
|||||||
@@ -18,13 +18,13 @@ env:
|
|||||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
RUNNING_ON_PRIMARY_BRANCH: |
|
RUNNING_ON_PRIMARY_BRANCH: |
|
||||||
${{ (github.repository == 'azerothcore/azerothcore-wotlk' && github.ref_name == 'master') && 'true' || 'false' }}
|
${{ (github.repository == 'liyunfan1223/azerothcore-wotlk' && github.ref_name == 'master') && 'true' || 'false' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-containers:
|
build-containers:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'azerothcore/azerothcore-wotlk'
|
github.repository == 'liyunfan1223/azerothcore-wotlk'
|
||||||
&& !github.event.pull_request.draft
|
&& !github.event.pull_request.draft
|
||||||
&& (github.ref_name == 'master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
&& (github.ref_name == 'master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPILER: ${{ matrix.compiler }}
|
COMPILER: ${{ matrix.compiler }}
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
github.repository == 'liyunfan1223/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
&& (
|
&& (
|
||||||
contains(github.event.pull_request.labels.*.name, 'run-build')
|
contains(github.event.pull_request.labels.*.name, 'run-build')
|
||||||
|| github.event.label.name == 'run-build')
|
|| github.event.label.name == 'run-build')
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
BOOST_ROOT: C:\local\boost_1_82_0
|
BOOST_ROOT: C:\local\boost_1_82_0
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'azerothcore/azerothcore-wotlk'
|
github.repository == 'liyunfan1223/azerothcore-wotlk'
|
||||||
&& !github.event.pull_request.draft
|
&& !github.event.pull_request.draft
|
||||||
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user