diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 9fd2608f7..a0297bfa0 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -69,6 +69,9 @@ jobs: uses: actions/checkout@v2 with: path: ./src/github.com/${{ github.repository }} + - name: Checkout Repo history to ensure we get correct version + run: | + cd ./src/github.com/${{ github.repository }} && git fetch --quiet --prune --unshallow - name: Get dependencies run: | cd src\github.com\${{ github.repository }} diff --git a/.github/workflows/windows-pr.yml b/.github/workflows/windows-pr.yml index 44cb5df56..c715a07da 100644 --- a/.github/workflows/windows-pr.yml +++ b/.github/workflows/windows-pr.yml @@ -57,6 +57,9 @@ jobs: uses: actions/checkout@v2 with: path: ./src/github.com/${{ github.repository }} + - name: Checkout Repo history to ensure we get correct version + run: | + cd ./src/github.com/${{ github.repository }} && git fetch --quiet --prune --unshallow - name: Get dependencies run: | cd src\github.com\${{ github.repository }}