fix(CI/C++20): attempt to fix labelled builds

This commit is contained in:
Francesco Borzì
2021-11-10 13:20:36 +01:00
committed by GitHub
parent 01a7d1d899
commit 8773bacd34

View File

@@ -4,7 +4,7 @@ on:
branches:
- 'master'
pull_request:
types: ['labeled']
types: ['labeled', 'labeled', 'opened', 'synchronize', 'reopened']
concurrency:
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
@@ -17,7 +17,7 @@ jobs:
env:
COMPILER: clang
ENABLE_CPP_20: 1
if: github.repository == 'azerothcore/azerothcore-wotlk' && (github.event.label.name == 'file-cpp' || github.event.label.name == 'run-build' || github.ref == 'refs/heads/master')
if: github.repository == 'azerothcore/azerothcore-wotlk' && (contains(github.event.pull_request.labels.*.name, 'file-cpp') || github.event.label.name == 'file-cpp' || github.event.label.name == 'run-build' || github.ref == 'refs/heads/master')
steps:
- uses: actions/checkout@v2
- name: Cache