fix(CI): run-build label (#8966)

This commit is contained in:
Patrick Lewis
2021-11-05 00:59:29 -07:00
committed by GitHub
parent dd79b7f63f
commit d8ad098372
3 changed files with 6 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ on:
branches:
- 'master'
pull_request:
types: ['labeled']
concurrency:
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
@@ -16,7 +17,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && github.event.label.name == 'run-build'
env:
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1

View File

@@ -4,6 +4,7 @@ on:
branches:
- 'master'
pull_request:
types: ['labeled']
concurrency:
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
@@ -19,7 +20,7 @@ jobs:
- macos-11
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && github.event.label.name == 'run-build'
steps:
- uses: actions/checkout@v2
- name: Cache

View File

@@ -4,6 +4,7 @@ on:
branches:
- 'master'
pull_request:
types: ['labeled']
concurrency:
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
@@ -19,7 +20,7 @@ jobs:
name: ${{ matrix.os }}-MSVC16
env:
BOOST_ROOT: C:\local\boost_1_74_0
if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && github.event.label.name == 'run-build'
steps:
- uses: actions/checkout@v2
- name: Configure OS