Skip to content

Commit

Permalink
add net 9 target to NuGetForUnity.Cli (#682)
Browse files Browse the repository at this point in the history
* add net 9 target to NuGetForUnity.Cli
* update used System.Text.Json version to prevent security warning
* update github action to support net 9
  • Loading branch information
JoC0de authored Dec 22, 2024
1 parent b3ba257 commit da39ccb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"
dotnet-version: |
"8.0.x"
"9.0.x"
- name: Build and pack .NET Core Global Tool
run: >-
Expand Down
6 changes: 3 additions & 3 deletions src/NuGetForUnity.Cli/NuGetForUnity.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>Exe</OutputType>
<RootNamespace>NuGetForUnity.Cli</RootNamespace>
<AssemblyName>NuGetForUnity.Cli</AssemblyName>
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net7.0;net8.0;net9.0</TargetFrameworks>
<PlatformTarget>AnyCPU</PlatformTarget>
<PackAsTool>true</PackAsTool>
<ToolCommandName>nugetforunity</ToolCommandName>
Expand Down Expand Up @@ -34,8 +34,8 @@ e.g. the import settings of the DLL's are changed to comply with Unity.
<Compile Remove="..\NuGetForUnity\Editor\UnityPreImportedLibraryResolver.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2023.2.0" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="7.0.1" />
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="NuGetForUnity.PluginAPI">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<package id="System.Numerics.Vectors" version="4.5.0" />
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" />
<package id="System.Text.Encodings.Web" version="7.0.0" />
<package id="System.Text.Json" version="7.0.1" manuallyInstalled="true" />
<package id="System.Text.Json" version="9.0.0" manuallyInstalled="true" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" />
</packages>

0 comments on commit da39ccb

Please sign in to comment.