From d5cb084019b588c123165eb1d5c4e233388c1719 Mon Sep 17 00:00:00 2001 From: Robin Munn Date: Thu, 7 Nov 2024 11:26:00 +0700 Subject: [PATCH] Checkout sources before building installer Now that the installer job is not running in the same job matrix as the tests, we need to re-run the dotnet restore and build steps again. --- .github/workflows/ci+cd.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci+cd.yml b/.github/workflows/ci+cd.yml index 9e847896..28d84c82 100644 --- a/.github/workflows/ci+cd.yml +++ b/.github/workflows/ci+cd.yml @@ -85,6 +85,17 @@ jobs: runs-on: windows-latest needs: build-and-test steps: + - name: Checkout + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 + with: + fetch-depth: 0 # fetch full history for GitVersion + + - name: Restore + run: dotnet restore + + - name: Build + run: dotnet build --no-restore -c Release + - name: Checkout Chorus Help # required for Chorus Merge Module uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 with: