diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 3ab588b8..2405a28a 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -83,7 +83,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest] + os: [windows-latest, macos-latest, ubuntu-latest] steps: @@ -123,9 +123,6 @@ jobs: - name: "Install dependencies" run: dotnet restore '${{ env.SOLUTION_PATH }}' --verbosity quiet - - name: "HACK: Build the Pipeline project first to avoid build errors." - run: dotnet build ./Source/MonoGame.Extended.Content.Pipeline/MonoGame.Extended.Content.Pipeline.csproj - - name: "Build solution" run: dotnet build '${{ env.SOLUTION_PATH }}' --nologo --verbosity minimal --configuration Release --no-restore /p:Version=${{ steps.version.outputs.nuGetVersion }} @@ -133,9 +130,11 @@ jobs: run: dotnet test '${{ env.SOLUTION_PATH }}' --nologo --verbosity normal --configuration Release --no-build - name: "Pack solution" + if: matrix.os == 'ubuntu-latest' run: dotnet pack '${{ env.SOLUTION_PATH }}' --nologo --output './nuget-packages' --verbosity minimal --configuration Release --no-build -p:PackageVersion=${{ steps.version.outputs.nuGetVersion }} - name: 'Upload packed artifacts' + if: matrix.os == 'ubuntu-latest' uses: actions/upload-artifact@v2 with: name: nuget-packages