-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e12d0e3
commit 54c44db
Showing
1 changed file
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,8 @@ jobs: | |
- 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 | ||
- name: Create NuGet package | ||
run: dotnet pack MaxLib.WebServer/MaxLib.WebServer.csproj | ||
|
||
- name: Publish to NuGet.org | ||
run: dotnet nuget push "**/*.nupkg" --api-key ${{ secrets.NUGET_PUSH_KEY }} |