Skip to content

Add package metadata and icon to SemanticFlow.csproj #1

Add package metadata and icon to SemanticFlow.csproj

Add package metadata and icon to SemanticFlow.csproj #1

Workflow file for this run

name: Build, Test and Publish to NuGet
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Run tests
run: dotnet test --configuration Release --no-build --no-restore
- name: Pack NuGet package
run: dotnet pack --configuration Release --no-build --output ./nupkg
- name: Publish to NuGet
run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json