Skip to content

Commit 014b4d1

Browse files
committed
Build with .NET 5
1 parent 12ef828 commit 014b4d1

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,17 @@ jobs:
2929
- name: Setup MSBuild.exe
3030
uses: microsoft/setup-msbuild@v1.0.3
3131

32-
- name: Install .NET Core
32+
- name: Setup .NET SDK
3333
uses: actions/setup-dotnet@v1.8.1
3434
with:
35-
dotnet-version: '6.0'
36-
include-prerelease: True
35+
dotnet-version: '5.0.x'
3736

3837
- name: Setup NuGet.exe for use with actions
3938
uses: NuGet/setup-nuget@v1.0.5
4039
with:
4140
nuget-version: latest
4241

43-
- name: Use Node.js ${{ matrix.node-version }}
42+
- name: Setup Node.js ${{ matrix.node-version }}
4443
uses: actions/setup-node@v2.4.0
4544
with:
4645
node-version: ${{ matrix.node-version }}

PolyDeploy.DeployClient/DeployCommand.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
namespace PolyDeploy.DeployClient
22
{
3+
using System;
4+
using System.Collections.Generic;
35
using PolyDeploy.Encryption;
46
using Spectre.Cli;
57
using Spectre.Console;
68
using Spectre.Console.Rendering;
79
using System.ComponentModel;
10+
using System.IO;
11+
using System.Linq;
12+
using System.Net.Http;
813
using System.Net.Http.Json;
914
using System.Text.Json;
1015
using System.Threading.Tasks;

PolyDeploy.DeployClient/PolyDeploy.DeployClient.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

0 commit comments

Comments
 (0)