From 9d4b98e787358ad98ccdca4c20f2613137d86e0d Mon Sep 17 00:00:00 2001 From: Opeyemi Date: Fri, 11 Aug 2023 14:54:40 +0100 Subject: [PATCH] FIX: add more dotnet setup (#3181) * UPDATE: move dotnet setup to run before checkout --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63391bd0fc..ca892d9436 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,6 +138,11 @@ jobs: base_path: ./bitwarden_license/src node: true steps: + - name: Set up dotnet + uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 + with: + dotnet-version: "6.0.x" + - name: Checkout repo uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 @@ -478,6 +483,11 @@ jobs: - linux-x64 - win-x64 steps: + - name: Set up dotnet + uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 + with: + dotnet-version: "6.0.x" + - name: Checkout repo uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3