From 52d738826cc091099ca6b25f718b9ca36d7b4b4e Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 30 Nov 2023 21:03:25 +0800 Subject: ci(release): perform a full checkout when building (#26323) Ref #13471 --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b19019d06d..e304196e99 100644 --- 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: | -- cgit