Should fix patch_commit_number.ps1 call (shallow clone cannot find a proper commit number for the nightly release).

This commit is contained in:
Martín Lucas Golini
2025-12-14 12:22:22 -03:00
parent 6ea10b5342
commit 7632e63f46
2 changed files with 10 additions and 19 deletions

View File

@@ -434,15 +434,9 @@ jobs:
shell: pwsh
run: |
git config --system core.autocrlf false
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
fetch-depth: 2
- name: Checkout submodules
shell: pwsh
run: |
git submodule update --init --recursive
- name: Checkout Code
uses: actions/checkout@v4
with: { fetch-depth: 0, submodules: 'recursive' }
- name: Build
shell: pwsh
run: |
@@ -470,15 +464,9 @@ jobs:
shell: pwsh
run: |
git config --system core.autocrlf false
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
fetch-depth: 2
- name: Checkout submodules
shell: pwsh
run: |
git submodule update --init --recursive
- name: Checkout Code
uses: actions/checkout@v4
with: { fetch-depth: 0, submodules: 'recursive' }
- name: Build
shell: pwsh
run: |