aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-30 21:03:25 +0800
committerGitHub <noreply@github.com>2023-11-30 21:03:25 +0800
commit52d738826cc091099ca6b25f718b9ca36d7b4b4e (patch)
treecc9b75d6e2f06649bb6391a518e34227ddaf1ac8
parentc8e37a589a4bffbdf374a5893ef269d2fe233ce6 (diff)
downloadrneovim-52d738826cc091099ca6b25f718b9ca36d7b4b4e.tar.gz
rneovim-52d738826cc091099ca6b25f718b9ca36d7b4b4e.tar.bz2
rneovim-52d738826cc091099ca6b25f718b9ca36d7b4b4e.zip
ci(release): perform a full checkout when building (#26323)
Ref #13471
-rw-r--r--.github/workflows/release.yml9
1 files changed, 9 insertions, 0 deletions
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: |