Fix(Workflow): Fix github action when PR is sending (#223)

This commit is contained in:
iThorgrim
2025-01-22 17:11:20 +01:00
committed by GitHub
parent 4e068e4c46
commit 5d912ee23d
3 changed files with 5 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ on:
push:
branches:
- 'master'
- 'action'
- 'main'
pull_request:
jobs:

View File

@@ -4,7 +4,7 @@ on:
push:
branches:
- 'master'
- 'action'
- 'main'
pull_request:
jobs:

View File

@@ -17,13 +17,15 @@ jobs:
repository: 'azerothcore/azerothcore-wotlk'
ref: 'master'
submodules: 'recursive'
fetch-depth: 0
- name: Check out module repository 📂
uses: actions/checkout@v4
with:
submodules: 'recursive'
path: 'modules/${{ github.event.repository.name }}'
ref: ${{ github.ref_name }}
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Cache compilation artifacts 💾
uses: actions/cache@v4