Merge pull request #75 from mod-playerbots/project_transfer

Preparation for project transfer
This commit is contained in:
Yunfan Li
2025-10-14 00:08:36 +08:00
committed by GitHub
parent 6aef3aae5f
commit 798589fb5d
8 changed files with 11 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ jobs:
triage: triage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: C++ name: C++
if: github.repository == 'liyunfan1223/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'mod-playerbots/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup python - name: Setup python

View File

@@ -33,7 +33,7 @@ jobs:
CXX: g++-14 CXX: g++-14
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch
if: github.repository == 'liyunfan1223/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'mod-playerbots/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: ./.github/actions/linux-build - uses: ./.github/actions/linux-build

View File

@@ -31,7 +31,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 == 'liyunfan1223/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'mod-playerbots/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: ./.github/actions/linux-build - uses: ./.github/actions/linux-build

View File

@@ -44,12 +44,12 @@ jobs:
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
# - name: Clone Playerbot Module # - name: Clone Playerbot Module
# run: git clone --depth=1 --branch=master https://github.com/liyunfan1223/mod-playerbots.git modules/mod-playerbots # run: git clone --depth=1 --branch=master https://github.com/mod-playerbots/mod-playerbots.git modules/mod-playerbots
- name: Checkout Playerbot Module - name: Checkout Playerbot Module
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: 'liyunfan1223/mod-playerbots' repository: 'mod-playerbots/mod-playerbots'
path: 'modules/mod-playerbots' path: 'modules/mod-playerbots'
- name: Install Requirements - name: Install Requirements

View File

@@ -44,12 +44,12 @@ jobs:
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
# - name: Clone Playerbot Module # - name: Clone Playerbot Module
# run: git clone --depth=1 --branch=master https://github.com/liyunfan1223/mod-playerbots.git modules/mod-playerbots # run: git clone --depth=1 --branch=master https://github.com/mod-playerbots/mod-playerbots.git modules/mod-playerbots
# - name: Checkout Playerbot Module # - name: Checkout Playerbot Module
# uses: actions/checkout@v3 # uses: actions/checkout@v3
# with: # with:
# repository: 'liyunfan1223/mod-playerbots' # repository: 'mod-playerbots/mod-playerbots'
# path: 'modules/mod-playerbots' # path: 'modules/mod-playerbots'
- name: Install Requirements - name: Install Requirements

View File

@@ -35,7 +35,7 @@ jobs:
CXX: clang++-18 CXX: clang++-18
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch-modules name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch-modules
if: github.repository == 'liyunfan1223/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'mod-playerbots/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# This script installs a general list of modules to compile with # This script installs a general list of modules to compile with

View File

@@ -16,13 +16,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 == 'liyunfan1223/azerothcore-wotlk' && github.ref_name == 'master') && 'true' || 'false' }} ${{ (github.repository == 'mod-playerbots/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 == 'liyunfan1223/azerothcore-wotlk' github.repository == 'mod-playerbots/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:

View File

@@ -25,7 +25,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler.CC }} name: ${{ matrix.os }}-${{ matrix.compiler.CC }}
if: | if: |
github.repository == 'liyunfan1223/azerothcore-wotlk' && !github.event.pull_request.draft github.repository == 'mod-playerbots/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'