Skip to content

Release 1.0.0

Release 1.0.0 #16

Workflow file for this run

name: Release to NuGet
on:
release:
types: [published]
jobs:
build-and-publish:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: 🛠️ Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: 🚧 Build
run: dotnet build --configuration Release
- name: 📦 Pack NuGet Tool
run: dotnet pack -c Release /p:PackageType=DotnetTool --output .
- name: 🌐 Publish NuGet Tool
run: dotnet nuget push "QuickDiff.*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json