From 2a63e23465c8dfa14a3c18902591e47d614893bf Mon Sep 17 00:00:00 2001 From: Alan West <3676547+alanwest@users.noreply.github.com> Date: Mon, 27 Jun 2022 19:15:21 -0700 Subject: [PATCH] Use fetch-depth 0 to make minver work properly --- .github/workflows/linux-ci.yml | 2 ++ .github/workflows/windows-ci.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index c8fec659ce7..c79296a9576 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -20,6 +20,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 # fetching all - name: Install dependencies run: dotnet restore diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index 9996cd8ea83..4a48a7e5b19 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -20,6 +20,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 # fetching all - name: Install dependencies run: dotnet restore