-
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
Showing
1 changed file
with
3 additions
and
20 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 |
---|---|---|
|
@@ -26,27 +26,10 @@ jobs: | |
run: dotnet build --no-restore | ||
- name: Publish NuGet | ||
env: | ||
API_KEY: ${{ secrets.nuget_api_key }} | ||
KEY: ${{ secrets.key }} | ||
uses: brandedoutcast/[email protected] | ||
with: | ||
# Filepath of the project to be packaged, relative to root of repository | ||
PROJECT_FILE_PATH: PreCompress.csproj | ||
# NuGet package id, used for version detection & defaults to project name | ||
PACKAGE_NAME: zorgoz.PreCompress | ||
# Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH | ||
#VERSION_FILE_PATH: # optional | ||
# Regex pattern to extract version info in a capturing group | ||
#VERSION_REGEX: # optional, default is ^\s*<Version>(.*)<\/Version>\s*$ | ||
# Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX | ||
#VERSION_STATIC: # optional | ||
# Flag to toggle git tagging, enabled by default | ||
#TAG_COMMIT: # optional, default is true | ||
# Format of the git tag, [*] gets replaced with actual version | ||
#TAG_FORMAT: # optional, default is v* | ||
# API key to authenticate with NuGet server | ||
NUGET_KEY: $API_KEY | ||
# NuGet server uri hosting the packages, defaults to https://api.nuget.org | ||
#NUGET_SOURCE: # optional, default is https://api.nuget.org | ||
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default | ||
#INCLUDE_SYMBOLS: # optional | ||
|
||
NUGET_KEY: $KEY | ||
|