Skip to content

Merge pull request #6 from Garados007/version-4 #36

Merge pull request #6 from Garados007/version-4

Merge pull request #6 from Garados007/version-4 #36

Workflow file for this run

name: NuGet Publish
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Init git submodules
run: git submodule init && git submodule update
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0'
- name: Install dependencies
run: dotnet restore
- name: Publish MaxLib.WebServer NuGet
uses: brandedoutcast/[email protected]
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: MaxLib.WebServer/MaxLib.WebServer.csproj
# NuGet package id, used for version detection & defaults to project name
PACKAGE_NAME: MaxLib.WebServer
# API key to authenticate with NuGet server
NUGET_KEY: ${{ secrets.NUGET_PUSH_KEY }}
# Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH:
VERSION_FILE_PATH: MaxLib.WebServer/MaxLib.WebServer.csproj.include