Skip to content

InputHandlers Publish NuGet #34

InputHandlers Publish NuGet

InputHandlers Publish NuGet #34

Workflow file for this run

name: InputHandlers Publish NuGet
on: workflow_dispatch
jobs:
publish-nuget:
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: Clean
run: dotnet clean ./InputHandlers.sln --configuration Release && dotnet nuget locals all --clear
- name: Build
run: dotnet build --configuration Release ./InputHandlers/InputHandlers.csproj
- name: Publish to NuGet
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: InputHandlers/InputHandlers.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}