Windows Portable Nightly: checkout correct branch using env.CURRENT_RELEASE_BRANCH
This commit is contained in:
parent
093c4459a9
commit
d382f9e9b2
9
.github/workflows/ci_windows_mu4.yml
vendored
9
.github/workflows/ci_windows_mu4.yml
vendored
|
@ -224,10 +224,17 @@ jobs:
|
|||
uses: styfle/cancel-workflow-action@0.11.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
- name: Clone repository
|
||||
- name: Clone repository (default)
|
||||
uses: actions/checkout@v4
|
||||
if: ${{ github.event_name != 'schedule' || github.event.schedule == '0 3 */1 */1 *' }}
|
||||
with:
|
||||
fetch-depth: 3
|
||||
- name: Clone repository (${{ env.CURRENT_RELEASE_BRANCH }})
|
||||
uses: actions/checkout@v4
|
||||
if: ${{ github.event_name == 'schedule' && github.event.schedule == '0 5 */1 */1 *' }}
|
||||
with:
|
||||
fetch-depth: 3
|
||||
ref: ${{ env.CURRENT_RELEASE_BRANCH }}
|
||||
- name: Fetch submodules
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
|
|
Loading…
Reference in a new issue