Fix continuous integration workflow

This commit is contained in:
Yunfan Li
2024-09-12 22:52:49 +08:00
parent 9973151927
commit 7e8c2d2887
4 changed files with 10 additions and 20 deletions

View File

@@ -1,10 +1,9 @@
name: windows-build
on:
push:
branches:
- 'master'
branches: [ "Playerbot" ]
pull_request:
types: ['labeled', 'opened', 'synchronize', 'reopened']
branches: [ "Playerbot" ]
concurrency:
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
@@ -20,10 +19,6 @@ jobs:
name: ${{ matrix.os }}
env:
BOOST_ROOT: C:\local\boost_1_82_0
if: |
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:
- uses: actions/checkout@v4
- name: ccache