Skip to content

Commit

Permalink
fix: removed support for .NET 5 due to it's end of life
Browse files Browse the repository at this point in the history
  • Loading branch information
capjan committed Jul 3, 2022
1 parent aadf05c commit a350965
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: .NET 5.0 / 6.0
name: .NET 6.0

on:
pull_request:
Expand All @@ -11,17 +11,11 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
# Setup of multiple .NET versions at the same time seams to be broken
# The multiple versions approach shown at https://github.com/actions/setup-dotnet fails, so I decided to
# fall back to 2 separate installation runs.

- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: .NET info
run: dotnet --info
- name: Restore
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/nuget_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup of multiple .NET versions at the same time seams to be broken
# The multiple versions approach shown at https://github.com/actions/setup-dotnet fails, so I decided to
# fall back to 2 separate installation runs.

- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x

- name: Build / Test
run: dotnet test -c Release --verbosity quiet
Expand Down
4 changes: 2 additions & 2 deletions Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<Title>CoreLib</Title>
<TargetFrameworks>net5.0;net6.0;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
<PackageId>Cap.Core</PackageId>
<Authors>Jan Ruhlaender</Authors>
<Product>CoreLib</Product>
<Description>Intended to be used in every project to reuse as much code as possible for daily coding tasks.</Description>
<Copyright>©2022 Jan Ruhlaender</Copyright>
<GeneratePackageOnBuild Condition="'$(Configuration)'=='Release'">false</GeneratePackageOnBuild>
<Version>9.1.0</Version>
<Version>9.1.1</Version>
<LangVersion>10</LangVersion>
<PackageProjectUrl>https://github.com/capjan/CoreLib</PackageProjectUrl>
<AssemblyName>CoreLib</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CoreLib

[![.NET 5.0 / 6.0](https://github.com/capjan/CoreLib/actions/workflows/dotnet.yml/badge.svg)](https://github.com/capjan/CoreLib/actions/workflows/dotnet.yml)
[![.NET 6.0](https://github.com/capjan/CoreLib/actions/workflows/dotnet.yml/badge.svg)](https://github.com/capjan/CoreLib/actions/workflows/dotnet.yml)

Consider this library as productivity boost to achieve stated development goals faster in .NET.

Expand Down

0 comments on commit a350965

Please sign in to comment.