Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zorgoz authored Apr 8, 2024
1 parent 9e4d122 commit 57bca5c
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 57bca5c

Please sign in to comment.