diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39eb3fb1..f306abdc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,4 +33,28 @@ jobs: uses: microsoft/setup-msbuild@v1.1 - name: Build - run: msbuild Auth0.OidcClient.All.sln -t:rebuild -verbosity:diag -property:Configuration=Release \ No newline at end of file + run: msbuild Auth0.OidcClient.All.sln -t:rebuild -verbosity:diag -property:Configuration=Release + + - name: Tests + uses: microsoft-approved-actions/vstest@master + with: + testAssembly: **.\*UnitTests.dll + searchFolder: ./ + runInParallel: false + + - name: NuGet pack + run: | + nuget pack nuget/Auth0.OidcClient.Android.nuspec + nuget pack nuget/Auth0.OidcClient.AndroidX.nuspec + nuget pack nuget/Auth0.OidcClient.Core.nuspec + nuget pack nuget/Auth0.OidcClient.iOS.nuspec + nuget pack nuget/Auth0.OidcClient.UWP.nuspec + nuget pack nuget/Auth0.OidcClient.WinForms.nuspec + nuget pack nuget/Auth0.OidcClient.WPF.nuspec + + - name: Install DocFX + run: dotnet tool install -g docfx + + - name: Build docs + run: ./tools/build-docs + shell: bash \ No newline at end of file