Skip to content

Commit

Permalink
#19 Added .NET 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
skuill committed Jan 27, 2024
1 parent 4d643f4 commit 59dc4aa
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
- uses: actions/setup-dotnet@v3
with:
dotnet-version: "7.0.x"
- uses: actions/setup-dotnet@v3
with:
dotnet-version: "8.0.x"
- name: Set RELEASE_VERSION
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Restore Packages
Expand Down Expand Up @@ -60,11 +63,13 @@ jobs:
zip -j LyricsScraperNET-net5.0.zip LyricsScraperNET/bin/Release/net5.0/*
zip -j LyricsScraperNET-net6.0.zip LyricsScraperNET/bin/Release/net6.0/*
zip -j LyricsScraperNET-net7.0.zip LyricsScraperNET/bin/Release/net7.0/*
zip -j LyricsScraperNET-net8.0.zip LyricsScraperNET/bin/Release/net8.0/*
gh release upload "$RELEASE_VERSION" \
"LyricsScraperNET-netstandard2.0.zip" \
"LyricsScraperNET-netstandard2.1.zip" \
"LyricsScraperNET-net5.0.zip" \
"LyricsScraperNET-net6.0.zip" \
"LyricsScraperNET-net7.0.zip" \
"LyricsScraperNET-net8.0.zip" \
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion LyricsScraperNET/LyricsScraperNET.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
<PackageId>LyricsScraperNET</PackageId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit 59dc4aa

Please sign in to comment.