Skip to content

SmartResults 1.0.1

SmartResults 1.0.1 #2

Workflow file for this run

name: .NET Core
on:
release:
types:
- published
jobs:
start:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Build with dotnet
run: dotnet build --configuration Release "./src/SmartResults.sln"
- name: Run unit tests
run: dotnet test "./src/SmartResults.sln"
- name: Create nuget package
run: dotnet pack --configuration Release "./src/SmartResults.sln"
- name: Publish nuget package
run: dotnet nuget push "./src/SmartResults/bin/Release/*.nupkg" -s "https://api.nuget.org/v3/index.json" -k ${{secrets.NUGET_API_KEY}}