commit 52d738826cc091099ca6b25f718b9ca36d7b4b4e
parent c8e37a589a4bffbdf374a5893ef269d2fe233ce6
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu, 30 Nov 2023 21:03:25 +0800
ci(release): perform a full checkout when building (#26323)
Ref #13471
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
@@ -23,6 +23,9 @@ jobs:
version: ${{ steps.build.outputs.version }}
steps:
- uses: actions/checkout@v4
+ with:
+ # Perform a full checkout #13471
+ fetch-depth: 0
- run: ./.github/scripts/install_deps.sh
- if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name != 'nightly')
run: |
@@ -60,6 +63,9 @@ jobs:
runs-on: macos-11
steps:
- uses: actions/checkout@v4
+ with:
+ # Perform a full checkout #13471
+ fetch-depth: 0
- name: Install dependencies
run: ./.github/scripts/install_deps.sh
- if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name != 'nightly')
@@ -79,6 +85,9 @@ jobs:
name: windows (MSVC_64)
steps:
- uses: actions/checkout@v4
+ with:
+ # Perform a full checkout #13471
+ fetch-depth: 0
- run: .github/scripts/env.ps1
- name: Build deps
run: |