From 78b1ab3b37d39144d1552576bfe674ee0c4fe3d8 Mon Sep 17 00:00:00 2001 From: Edward Cooke Date: Thu, 1 Dec 2022 11:59:07 -0700 Subject: [PATCH] Add required dot net core versions to the workflow --- .github/workflows/create-release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index c2f3a3f9..0bd58bec 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -19,6 +19,22 @@ jobs: fetch-depth: 0 ref: ${{ github.event.inputs.ref }} +# Make sure the required versions of dotnet core on the server + - name: Install dotnet 3.1 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 3.1.x + + - name: Install dotnet 6.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + + - name: Install dotnet 7.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 7.0.x + - name: Install GitVersion.Tool run: dotnet tool install --global GitVersion.Tool