Skip to content

Commit

Permalink
remove .net 7, as it is now out of support
Browse files Browse the repository at this point in the history
  • Loading branch information
sensslen committed May 22, 2024
1 parent ec6669f commit 99931a8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 26 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]

framework: [net6.0, net7.0, net8.0]
framework: [net6.0, net8.0]

include:
- framework: net6.0
dotnetVersion: "6.0.x"

- framework: net7.0
dotnetVersion: "7.0.x"

- framework: net8.0
dotnetVersion: "8.0.x"
Expand All @@ -49,14 +46,11 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
framework: [net6.0, net7.0, net8.0, net472]
framework: [net6.0, net8.0, net472]

include:
- framework: net6.0
dotnetVersion: "6.0.x"

- framework: net7.0
dotnetVersion: "7.0.x"

- framework: net8.0
dotnetVersion: "8.0.x"
Expand Down Expand Up @@ -102,15 +96,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
targetFramework: [net6.0, net7.0, net8.0]
targetFramework: [net6.0, net8.0]
project: [App, Tests, ProjectWithReferenceContainingLicenseExpression]

include:
- targetFramework: net6.0
dotnetVersion: "6.0.x"

- targetFramework: net7.0
dotnetVersion: "7.0.x"

- targetFramework: net8.0
dotnetVersion: "8.0.x"
Expand Down Expand Up @@ -188,14 +179,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
targetFramework: [net6.0, net7.0, net8.0]
targetFramework: [net6.0, net8.0]

include:
- targetFramework: net6.0
dotnetVersion: "6.0.x"

- targetFramework: net7.0
dotnetVersion: "7.0.x"

- targetFramework: net8.0
dotnetVersion: "8.0.x"
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.0.x"
- name: Setup dotnet 7.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: "7.0.x"
- name: Setup dotnet 8.0.x
uses: actions/setup-dotnet@v4
with:
Expand Down Expand Up @@ -56,8 +52,6 @@ jobs:
- name: Publish the application binaries (.net6)
run: dotnet publish ./src/NuGetLicenseCore/NuGetLicenseCore.csproj -c Release --no-restore -o ${{ steps.artifacts_path.outputs.path }}/net6 -f net6.0 -p:Version=${{ steps.version.outputs.full_without_prefix }}
- name: Publish the application binaries (.net7)
run: dotnet publish ./src/NuGetLicenseCore/NuGetLicenseCore.csproj -c Release --no-restore -o ${{ steps.artifacts_path.outputs.path }}/net7 -f net7.0 -p:Version=${{ steps.version.outputs.full_without_prefix }}
- name: Publish the application binaries (.net8)
run: dotnet publish ./src/NuGetLicenseCore/NuGetLicenseCore.csproj -c Release --no-restore -o ${{ steps.artifacts_path.outputs.path }}/net8 -f net8.0 -p:Version=${{ steps.version.outputs.full_without_prefix }}
- name: Publish the application binaries (.net472)
Expand Down
2 changes: 1 addition & 1 deletion src/NuGetLicenseCore/NuGetLicenseCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<PackageType>DotnetTool</PackageType>
Expand Down
4 changes: 2 additions & 2 deletions src/NuGetUtility/NuGetUtility.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RepositoryType>git</RepositoryType>
<Version>100.100.100</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
Expand Down
2 changes: 1 addition & 1 deletion tests/NuGetUtility.Test/NuGetUtility.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down

0 comments on commit 99931a8

Please sign in to comment.