Skip to content

Commit

Permalink
.NET Update
Browse files Browse the repository at this point in the history
  • Loading branch information
darinkes committed Mar 16, 2024
1 parent 804c13f commit 3a9e60e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 78 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/dotnet-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand All @@ -29,4 +29,4 @@ jobs:
with:
name: Sample-ubuntu
path: |
SshNet.Agent.Sample/bin/Debug/net7.0/*
SshNet.Agent.Sample/bin/Debug/net8.0/*
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand All @@ -29,5 +29,5 @@ jobs:
with:
name: sample-windows
path: |
SshNet.Agent.Sample/bin/Debug/net462/*
SshNet.Agent.Sample/bin/Debug/net7.0/*
SshNet.Agent.Sample/bin/Debug/net48/*
SshNet.Agent.Sample/bin/Debug/net8.0/*
2 changes: 1 addition & 1 deletion .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Works on my machine - WIP

## .NET Frameworks

* .NET 4.6
* .NET 4.8
* netstandard 2.0
* netstandard 2.1

Expand Down
4 changes: 2 additions & 2 deletions SshNet.Agent.Sample/SshNet.Agent.Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net462;net7.0</TargetFrameworks>
<TargetFramework Condition="'$(OS)' != 'Windows_NT'">net7.0</TargetFramework>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net48;net8.0</TargetFrameworks>
<TargetFramework Condition="'$(OS)' != 'Windows_NT'">net8.0</TargetFramework>
<LangVersion>9</LangVersion>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion SshNet.Agent/SshNet.Agent.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net48;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">;netstandard2.0;netstandard2.1</TargetFrameworks>
<LangVersion>9</LangVersion>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit 3a9e60e

Please sign in to comment.