Skip to content

Commit

Permalink
(GH-146) Add .NET 8 and update to .NET 8.0.100 SDK
Browse files Browse the repository at this point in the history
* fixes #146
  • Loading branch information
devlead committed Nov 19, 2023
1 parent 4df8ec7 commit b8954fa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,22 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2022, ubuntu-latest, macos-latest]
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Get the sources
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install .NET Core SDK
uses: actions/setup-dotnet@v1
- name: Install .NET SDK 6.0.x - 8.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
8.0.x
- name: Run Cake script
uses: cake-build/cake-action@v1
uses: cake-build/cake-action@master
env:
GH_PACKAGES_NUGET_SOURCE: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
GH_PACKAGES_NUGET_APIKEY: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.401",
"version": "8.0.100",
"allowPrerelease": false,
"rollForward": "feature"
}
Expand Down
2 changes: 1 addition & 1 deletion src/LitJson.Source/LitJSON.Source.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<IsPackable>true</IsPackable>
<PackBuildOutput>false</PackBuildOutput>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
Expand Down
2 changes: 1 addition & 1 deletion src/LitJson/LitJSON.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1;netstandard2.0;net45;net48;netstandard1.5;net40;net35;net20;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;net45;net48;netstandard1.5;net40;net35;net20;net6.0;net8.0</TargetFrameworks>
</PropertyGroup>

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

<PropertyGroup>
<TargetFrameworks>net6.0;net45</TargetFrameworks>
<TargetFrameworks>net8.0;net6.0;net45</TargetFrameworks>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit b8954fa

Please sign in to comment.