|
|
|
@ -14,26 +14,8 @@ env:
|
|
|
|
|
dotnetVersion: 5.0.x
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
test:
|
|
|
|
|
name: Test
|
|
|
|
|
runs-on: windows-latest
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout Source Code
|
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0 # avoid shallow clone for NBGV
|
|
|
|
|
|
|
|
|
|
- name: Setup .NET Core SDK ${{ env.dotnetVersion }}
|
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
|
with:
|
|
|
|
|
dotnet-version: ${{ env.dotnetVersion }}
|
|
|
|
|
|
|
|
|
|
- name: Test
|
|
|
|
|
run: dotnet test src --configuration Release --logger GitHubActions
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
name: Build
|
|
|
|
|
needs: test
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: true
|
|
|
|
|
matrix:
|
|
|
|
@ -61,6 +43,9 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
dotnet-version: ${{ env.dotnetVersion }}
|
|
|
|
|
|
|
|
|
|
- name: Test
|
|
|
|
|
run: dotnet test src --configuration Release --logger GitHubActions
|
|
|
|
|
|
|
|
|
|
- name: Publish & Zip
|
|
|
|
|
shell: pwsh
|
|
|
|
|
run: ci/PublishAndZip.ps1 ${{ matrix.runtime }}
|
|
|
|
|