Fix workflows

This commit is contained in:
Yunfan Li
2024-03-12 13:10:28 +08:00
parent 19cd29ff6d
commit 60b624a3ac
7 changed files with 8 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ jobs:
triage:
runs-on: ubuntu-latest
name: C++
if: github.repository == 'azerothcore/azerothcore-wotlk'
if: github.repository == 'liyunfan1223/azerothcore-wotlk'
steps:
- uses: actions/checkout@v4
- name: AzerothCore codestyle

View File

@@ -25,7 +25,7 @@ jobs:
name: ${{ matrix.os }}-${{ matrix.compiler }}-nopch
env:
COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk'
if: github.repository == 'liyunfan1223/azerothcore-wotlk'
steps:
- uses: actions/checkout@v4
- name: Cache

View File

@@ -23,7 +23,7 @@ jobs:
name: ${{ matrix.os }}-${{ matrix.compiler }}-pch
env:
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:
- uses: actions/checkout@v4
- name: Configure OS

View File

@@ -24,7 +24,7 @@ jobs:
env:
COMPILER: ${{ matrix.compiler }}
if: |
github.repository == 'azerothcore/azerothcore-wotlk'
github.repository == 'liyunfan1223/azerothcore-wotlk'
&& !github.event.pull_request.draft
&& (
github.ref == 'refs/heads/master'

View File

@@ -18,13 +18,13 @@ env:
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
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:
build-containers:
runs-on: "ubuntu-latest"
if: |
github.repository == 'azerothcore/azerothcore-wotlk'
github.repository == 'liyunfan1223/azerothcore-wotlk'
&& !github.event.pull_request.draft
&& (github.ref_name == 'master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
steps:

View File

@@ -22,7 +22,7 @@ jobs:
env:
COMPILER: ${{ matrix.compiler }}
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')
|| github.event.label.name == 'run-build')

View File

@@ -21,7 +21,7 @@ jobs:
env:
BOOST_ROOT: C:\local\boost_1_82_0
if: |
github.repository == 'azerothcore/azerothcore-wotlk'
github.repository == 'liyunfan1223/azerothcore-wotlk'
&& !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')
steps: