diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index afe2c0c..1ea3e36 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,9 @@ name: Build on: push: - branches: master + branches: ["master"] pull_request: - branches: "*" + branches: ["*"] paths-ignore: - "README.md" - ".github/ISSUE_TEMPLATE/**" @@ -35,7 +35,9 @@ jobs: - name: setup dotnet uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: | + 6.0.x + 8.0.x - name: setup dependencies run: | @@ -81,7 +83,9 @@ jobs: - name: setup dotnet uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: | + 6.0.x + 8.0.x - name: build projects run: dotnet build -c Release /p:BuildArch=${{ matrix.arch }} @@ -114,7 +118,9 @@ jobs: - name: setup dotnet uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: | + 6.0.x + 8.0.x - name: build projects run: dotnet build -c Release /p:BuildArch=${{ matrix.arch }} @@ -167,7 +173,9 @@ jobs: - name: setup dotnet uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: | + 6.0.x + 8.0.x - name: create NuGet Package run: dotnet pack Raylib-cs -c Release --output nuget diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index cd05201..5e62c5c 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -1,7 +1,7 @@ Exe - net6.0 + net6.0;net8.0 true Examples.Program $(MSBuildThisFileDirectory) diff --git a/Raylib-cs.Native/Native.cs b/Raylib-cs.Native/Native.cs new file mode 100644 index 0000000..fc8bba6 --- /dev/null +++ b/Raylib-cs.Native/Native.cs @@ -0,0 +1,4 @@ +namespace Raylib_cs.Native +{ + internal class Native { } +} diff --git a/Raylib-cs.Native/Raylib-cs.Native.csproj b/Raylib-cs.Native/Raylib-cs.Native.csproj index 63fef7e..2bc574e 100644 --- a/Raylib-cs.Native/Raylib-cs.Native.csproj +++ b/Raylib-cs.Native/Raylib-cs.Native.csproj @@ -1,8 +1,10 @@ - net6.0 - false + netstandard2.1 false + none + false + False @@ -44,11 +46,7 @@ - + @@ -58,25 +56,16 @@ + - + - - - + + diff --git a/Raylib-cs.Tests/Raylib-cs.Tests.csproj b/Raylib-cs.Tests/Raylib-cs.Tests.csproj index fa9d3a9..f06cc03 100644 --- a/Raylib-cs.Tests/Raylib-cs.Tests.csproj +++ b/Raylib-cs.Tests/Raylib-cs.Tests.csproj @@ -1,15 +1,15 @@ - net6.0 + net6.0;net8.0 true 12 - - - - + + + + diff --git a/Raylib-cs/Raylib-cs.csproj b/Raylib-cs/Raylib-cs.csproj index 918d103..6f014f2 100644 --- a/Raylib-cs/Raylib-cs.csproj +++ b/Raylib-cs/Raylib-cs.csproj @@ -1,6 +1,6 @@ - net6.0 + net6.0;net8.0 false Raylib-cs Raylib_cs