diff --git a/.github/workflows/Engine.yml b/.github/workflows/Engine.yml index 9b84e41c7..d9ead56dd 100644 --- a/.github/workflows/Engine.yml +++ b/.github/workflows/Engine.yml @@ -63,22 +63,22 @@ jobs: with: name: iOSMonoGameNet8Debug path: FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.iOSMonoGame\bin\Debug\net8.0-ios\ + - name: Publish NuGet package iOS .NET 8 + run: | + $files = Get-ChildItem -Path 'FlatRedBall\Engines\FlatRedBallXNA\FlatRedBalliOS\bin\Debug\*.nupkg' + foreach ($file in $files) { + dotnet nuget push $file.FullName --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json + } - name: Build FlatRedBall iOS .NET 8 Release run: dotnet build -c Release 'FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.iOS.Net8.sln' + ## We don't (yet?) publish any release nuget packages, but we do this in preparation for this in the future - name: Package FlatRedBall iOS .NET 8 uses: actions/upload-artifact@v3 with: name: iOSMonoGameNet8Release path: FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.iOSMonoGame\bin\Release\net8.0-ios\ - - - name: Publish NuGet package iOS .NET 8 - run: | - $files = Get-ChildItem -Path 'FlatRedBall\Engines\FlatRedBallXNA\FlatRedBalliOS\bin\Debug\*.nupkg' - foreach ($file in $files) { - dotnet nuget push $file.FullName --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json - } - name: Build FlatRedBall Android .NET 8 Debug @@ -88,21 +88,22 @@ jobs: with: name: AndroidMonoGameNet8Debug path: FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.AndroidMonoGame\bin\Debug\net8.0-android\ + - name: Publish NuGet package Android .NET 8 + run: | + $files = Get-ChildItem -Path 'FlatRedBall\Engines\FlatRedBallXNA\FlatRedBallAndroid\bin\Debug\*.nupkg' + foreach ($file in $files) { + dotnet nuget push $file.FullName --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json + } - name: Build FlatRedBall Android .NET 8 Release run: dotnet build -c Release 'FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.Android.Net8.sln' + ## We don't (yet?) publish any release nuget packages, but we do this in preparation for this in the future - name: Package FlatRedBall Android .NET 8 uses: actions/upload-artifact@v3 with: name: AndroidMonoGameNet8Release path: FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.AndroidMonoGame\bin\Release\net8.0-android\ - - name: Publish NuGet package Android .NET 8 - run: | - $files = Get-ChildItem -Path 'FlatRedBall\Engines\FlatRedBallXNA\FlatRedBallAndroid\bin\Debug\*.nupkg' - foreach ($file in $files) { - dotnet nuget push $file.FullName --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json - } @@ -113,21 +114,22 @@ jobs: with: name: DesktopGlFnaNet7Debug path: FlatRedBall/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.FNA/bin/Debug/net7.0/ + - name: Publish NuGet package FRB FNA .NET 7 + run: | + $files = Get-ChildItem -Path 'FlatRedBall\Engines\FlatRedBallXNA\FlatRedBall.FNA\bin\Debug\*.nupkg' + foreach ($file in $files) { + dotnet nuget push $file.FullName --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json + } - name: Build FlatRedBall FNA .NET 7 Release run: dotnet build -c Release 'FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.FNA.sln' + ## We don't (yet?) publish any release nuget packages, but we do this in preparation for this in the future - name: Package FlatRedBall FNA .NET 7 uses: actions/upload-artifact@v3 with: name: DesktopGlFnaNet7Release path: FlatRedBall/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.FNA/bin/Release/net7.0/ - - name: Publish NuGet package FRB FNA .NET 7 - run: | - $files = Get-ChildItem -Path 'FlatRedBall\Engines\FlatRedBallXNA\FlatRedBall.FNA\bin\Debug\*.nupkg' - foreach ($file in $files) { - dotnet nuget push $file.FullName --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json - } - name: Build FlatRedBall DesktopGL .NET 6 Debug run: dotnet build -c Debug 'FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.DesktopGLNet6.sln' @@ -136,20 +138,21 @@ jobs: with: name: DesktopGlNet6Debug path: FlatRedBall/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.DesktopGlNet6/bin/Debug/net6.0/ + - name: Publish NuGet package DesktopGL .NET 6 + run: | + $files = Get-ChildItem -Path 'FlatRedBall\Engines\FlatRedBallXNA\FlatRedBallDesktopGLNet6\bin\Debug\*.nupkg' + foreach ($file in $files) { + dotnet nuget push $file.FullName --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json + } - name: Build FlatRedBall DesktopGL .NET 6 Release run: dotnet build -c Release 'FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.DesktopGLNet6.sln' + ## We don't (yet?) publish any release nuget packages, but we do this in preparation for this in the future - name: Package FlatRedBall .NET 6 uses: actions/upload-artifact@v3 with: name: DesktopGlNet6Release path: FlatRedBall/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.DesktopGlNet6/bin/Release/net6.0/ - - name: Publish NuGet package DesktopGL .NET 6 - run: | - $files = Get-ChildItem -Path 'FlatRedBall\Engines\FlatRedBallXNA\FlatRedBallDesktopGLNet6\bin\Debug\*.nupkg' - foreach ($file in $files) { - dotnet nuget push $file.FullName --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json - } - name: Build FlatRedBall .NET 4 Debug if: ${{ github.event.inputs.IsBeta == 'false' }} @@ -160,10 +163,12 @@ jobs: with: name: DesktopGlNet4Debug path: FlatRedBall/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms/bin/DesktopGL/Debug/ + ## Net4 doesn't (and maybe never will) nuget publish. We still have this as of April 25,2024 for historical reasons but this will get retired in the future - name: Build FlatRedBall .NET 4 Release if: ${{ github.event.inputs.IsBeta == 'false' }} run: dotnet build -c Release 'FlatRedBall\Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.DesktopGL.sln' + ## We don't (yet?) publish any release nuget packages, but we do this in preparation for this in the future - name: Package FlatRedBall .NET 4 if: ${{ github.event.inputs.IsBeta == 'false' }} uses: actions/upload-artifact@v3 diff --git a/Engines/FlatRedBallXNA/FlatRedBall.FNA/FlatRedBall.FNA.csproj b/Engines/FlatRedBallXNA/FlatRedBall.FNA/FlatRedBall.FNA.csproj index d7a954fd6..ebf9461d7 100644 --- a/Engines/FlatRedBallXNA/FlatRedBall.FNA/FlatRedBall.FNA.csproj +++ b/Engines/FlatRedBallXNA/FlatRedBall.FNA/FlatRedBall.FNA.csproj @@ -5,6 +5,8 @@ enable enable TRACE; DESKTOP_GL; XNA4; FRB_XNA; FNA; + true + FlatRedBall (.NET FNA) diff --git a/Engines/FlatRedBallXNA/FlatRedBallAndroid/FlatRedBallAndroid.csproj b/Engines/FlatRedBallXNA/FlatRedBallAndroid/FlatRedBallAndroid.csproj index 1ea62accd..9d5f7ed41 100644 --- a/Engines/FlatRedBallXNA/FlatRedBallAndroid/FlatRedBallAndroid.csproj +++ b/Engines/FlatRedBallXNA/FlatRedBallAndroid/FlatRedBallAndroid.csproj @@ -12,6 +12,7 @@ FlatRedBall Game Engine MIT 1.0.0 + true diff --git a/Engines/FlatRedBallXNA/FlatRedBallDesktopGLNet6/FlatRedBallDesktopGLNet6.csproj b/Engines/FlatRedBallXNA/FlatRedBallDesktopGLNet6/FlatRedBallDesktopGLNet6.csproj index 9e0e828f5..8523cb811 100644 --- a/Engines/FlatRedBallXNA/FlatRedBallDesktopGLNet6/FlatRedBallDesktopGLNet6.csproj +++ b/Engines/FlatRedBallXNA/FlatRedBallDesktopGLNet6/FlatRedBallDesktopGLNet6.csproj @@ -10,6 +10,8 @@ FlatRedBall Game Engine MIT 1.0.0 + true + diff --git a/Engines/FlatRedBallXNA/FlatRedBalliOS/FlatRedBalliOS.csproj b/Engines/FlatRedBallXNA/FlatRedBalliOS/FlatRedBalliOS.csproj index 84a95c249..48d9a5df5 100644 --- a/Engines/FlatRedBallXNA/FlatRedBalliOS/FlatRedBalliOS.csproj +++ b/Engines/FlatRedBallXNA/FlatRedBalliOS/FlatRedBalliOS.csproj @@ -11,6 +11,8 @@ FlatRedBall Game Engine MIT 1.0.0 + true + $(DefineConstants);FRB_XNA;IOS;MONOGAME;XNA4;MONOGAME_381;USE_ISOLATED_STORAGE diff --git a/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.AndroidMonoGame/FlatRedBall.Forms.AndroidMonoGame.csproj b/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.AndroidMonoGame/FlatRedBall.Forms.AndroidMonoGame.csproj index 8a190e4f9..d9f397bf3 100644 --- a/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.AndroidMonoGame/FlatRedBall.Forms.AndroidMonoGame.csproj +++ b/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.AndroidMonoGame/FlatRedBall.Forms.AndroidMonoGame.csproj @@ -4,6 +4,7 @@ net8.0-android enable enable + true diff --git a/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.DesktopGlNet6/FlatRedBall.Forms.DesktopGlNet6.csproj b/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.DesktopGlNet6/FlatRedBall.Forms.DesktopGlNet6.csproj index 34ed83e56..5b8bc68a5 100644 --- a/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.DesktopGlNet6/FlatRedBall.Forms.DesktopGlNet6.csproj +++ b/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.DesktopGlNet6/FlatRedBall.Forms.DesktopGlNet6.csproj @@ -3,6 +3,7 @@ net6.0 MONOGAME;DESKTOP_GL;XNA4;FRB_XNA;WINDOWS;MONOGAME_381 False + true diff --git a/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.FNA/FlatRedBall.Forms.FNA.csproj b/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.FNA/FlatRedBall.Forms.FNA.csproj index 64f9bb0ed..cc3d8e739 100644 --- a/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.FNA/FlatRedBall.Forms.FNA.csproj +++ b/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.FNA/FlatRedBall.Forms.FNA.csproj @@ -3,6 +3,7 @@ net7.0 FNA;DESKTOP_GL;XNA4;FRB_XNA;WINDOWS False + true diff --git a/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.iOSMonoGame/FlatRedBall.Forms.iOSMonoGame.csproj b/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.iOSMonoGame/FlatRedBall.Forms.iOSMonoGame.csproj index d835a2118..50eea8850 100644 --- a/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.iOSMonoGame/FlatRedBall.Forms.iOSMonoGame.csproj +++ b/Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.iOSMonoGame/FlatRedBall.Forms.iOSMonoGame.csproj @@ -4,6 +4,8 @@ net8.0-ios enable enable + true + diff --git a/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.AndroidMonoGame/StateInterpolation.AndroidMonoGame.csproj b/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.AndroidMonoGame/StateInterpolation.AndroidMonoGame.csproj index d6966b58a..ffc8bf94b 100644 --- a/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.AndroidMonoGame/StateInterpolation.AndroidMonoGame.csproj +++ b/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.AndroidMonoGame/StateInterpolation.AndroidMonoGame.csproj @@ -4,6 +4,7 @@ net8.0-android enable enable + true diff --git a/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.DesktopGlNet6/StateInterpolation.DesktopNet6.csproj b/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.DesktopGlNet6/StateInterpolation.DesktopNet6.csproj index 03a990351..041aae065 100644 --- a/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.DesktopGlNet6/StateInterpolation.DesktopNet6.csproj +++ b/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.DesktopGlNet6/StateInterpolation.DesktopNet6.csproj @@ -1,6 +1,8 @@ net6.0 + true + diff --git a/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.FNA/StateInterpolation.FNA.csproj b/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.FNA/StateInterpolation.FNA.csproj index e6f31ca2a..06d8398a7 100644 --- a/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.FNA/StateInterpolation.FNA.csproj +++ b/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.FNA/StateInterpolation.FNA.csproj @@ -2,6 +2,8 @@ net7.0 FNA;XNA4 + true + diff --git a/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.iOSMonoGame/StateInterpolation.iOSMonoGame.csproj b/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.iOSMonoGame/StateInterpolation.iOSMonoGame.csproj index 30e5fd3dc..2a7252ed3 100644 --- a/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.iOSMonoGame/StateInterpolation.iOSMonoGame.csproj +++ b/Engines/Forms/FlatRedBall.Forms/StateInterpolation/StateInterpolation.iOSMonoGame/StateInterpolation.iOSMonoGame.csproj @@ -4,6 +4,8 @@ net8.0-ios enable enable + true +