Skip to content

Upgrade a couple packages I notice #10

Upgrade a couple packages I notice

Upgrade a couple packages I notice #10

Workflow file for this run

name: Publish NuGet Package
on:
workflow_dispatch:
push:
tags: [ release-* ]
# 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/checkout@v4.1.1
- name: Setup .NET
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 7.0.x
- name: Build for publish
run: dotnet publish -c Release
- name: Run tests
run: |
dotnet test --nologo -l:"console;verbosity=normal" -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