Update build pipeline

This commit is contained in:
Lucas Girouard-Stranks
2020-08-18 19:08:28 -04:00
parent 6025e434c9
commit 0039fd0480
+3 -4
View File
@@ -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