Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
codymullins authored Mar 21, 2024
1 parent 94c1aee commit 6a2224b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ jobs:
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: Publish to NuGet
if: ${{ github.ref == 'refs/heads/main' }}
run: dotnet nuget push --skip-duplicate --api-key ${{secrets.PB_COMPONENTS_NUGET_KEY}} --source 'https://api.nuget.org/v3/index.json' ${{github.workspace}}/src/**/Pure.Blazor.Components.*.nupkg

0 comments on commit 6a2224b

Please sign in to comment.