mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-21 01:39:32 +00:00
Update build pipeline
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user