diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a22e2b4..f641b3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -171,7 +171,7 @@ jobs: dotnet-version: 6.0.x - name: Create NuGet Package - run: dotnet pack -c Release Raylib-cs + run: dotnet pack -c Release Raylib-cs -p:SkipLocalBuild=true - name: Upload NuGet Package As Artifact uses: actions/upload-artifact@v3 diff --git a/Raylib-cs/Raylib-cs.csproj b/Raylib-cs/Raylib-cs.csproj index 5acad77..117dff9 100644 --- a/Raylib-cs/Raylib-cs.csproj +++ b/Raylib-cs/Raylib-cs.csproj @@ -77,7 +77,8 @@ + CopyToOutputDirectory="PreserveNewest" + Condition="Exists('$(IntermediateOutputPath)native/raylib/$(NativePre)raylib.$(NativeExt)')" /> @@ -85,7 +86,7 @@ - + - +