Skip to content

Spice#.Behavioral 3.2.0 #18

Spice#.Behavioral 3.2.0

Spice#.Behavioral 3.2.0 #18

Workflow file for this run

name: Publish to NuGet
on:
release:
branches: [ master ]
types: [ published ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Setup dotnet tooling
uses: actions/setup-dotnet@master
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Compile Spice#.Behavioral
run: dotnet build SpiceSharpBehavioral\SpiceSharpBehavioral.csproj --configuration Release --no-restore
- name: Publish to NuGet
env:
APIKEY: ${{ secrets.NUGET_APIKEY }}
run: dotnet nuget push ".\build\bin\SpiceSharpBehavioral\SpiceSharpBehavioral.*.nupkg" -k $env:APIKEY -s "https://api.nuget.org/v3/index.json"