Skip to content

Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 (#155) #155

Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 (#155)

Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 (#155) #155

Workflow file for this run

name: Build and Publish Main Branch
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test -c Release --no-build --verbosity normal
- name: Publish to NuGet
run: dotnet nuget push **/*.nupkg -s "https://api.nuget.org/v3/index.json" -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate