Skip to content

Little fixes

Little fixes #1

Workflow file for this run

name: Publish NuGet Package
on:
workflow_dispatch:
push:
tags: [ release-core-* ]
# TODO: trigger on commit desc '/publish'
# TODO: switch to https://github.com/xoofx/dotnet-releaser
jobs:
publish:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 8.0.x
- name: Run tests
run: |
dotnet test --nologo -l:"console;verbosity=normal" src\Core\Core-Tests.csproj -c Release
- name: Pack nuget
run: dotnet pack src\Core\Core.csproj -c Release
- name: Publish NuGet package
run: |
dotnet nuget push publish\Core\*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json