Bump NUnit3TestAdapter from 4.5.0 to 4.6.0 in /src #156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET | |
on: | |
push: | |
branches: [ "main", "preview" ] | |
pull_request: | |
branches: [ "main", "preview" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore ./src/Pure.Blazor.Components | |
- name: Build | |
run: dotnet build ./src/Pure.Blazor.Components --no-restore | |
- name: Test | |
run: dotnet test ./src/Pure.Blazor.Components --no-build --verbosity normal | |
- name: Build AspNetCore Integration Package | |
run: dotnet build ./src/Pure.Blazor.Components.AspNetCore | |
- name: Publish to NuGet | |
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/preview' }} | |
run: dotnet nuget push --skip-duplicate --api-key ${{secrets.PB_COMPONENTS_NUGET_KEY}} --source 'https://api.nuget.org/v3/index.json' ${{github.workspace}}/src/**/PureBlazor.Components.*.nupkg |