Add NuGet pushes

This commit is contained in:
J. Fronny 2020-03-20 14:53:37 +01:00 committed by GitHub
parent cd298c3b4c
commit e3cf91ea3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

View File

@ -68,3 +68,25 @@ jobs:
asset_path: ./app.xml
asset_name: app.xml
asset_content_type: text/xml
- name: Publish W32 to nuget
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: W32/W32.csproj # Relative to repository root
# VERSION_FILE_PATH: Directory.Build.props # Filepath with version info, relative to repository root. Defaults to project file
# VERSION_REGEX: <Version>(.*)<\/Version> # Regex pattern to extract version info in a capturing group
VERSION_STATIC: ${{ steps.base_init.outputs.vers }}
TAG_COMMIT: false # Flag to enable / disalge git tagging
# TAG_FORMAT: v* # Format of the git tag, [*] gets replaced with version
NUGET_KEY: ${{secrets.NUGET_API_KEY}} # nuget.org API key
PACKAGE_NAME: Functions.W32
- name: Publish Misc to nuget
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: Misc/Misc.csproj # Relative to repository root
# VERSION_FILE_PATH: Directory.Build.props # Filepath with version info, relative to repository root. Defaults to project file
# VERSION_REGEX: <Version>(.*)<\/Version> # Regex pattern to extract version info in a capturing group
VERSION_STATIC: ${{ steps.base_init.outputs.vers }}
TAG_COMMIT: false # Flag to enable / disalge git tagging
# TAG_FORMAT: v* # Format of the git tag, [*] gets replaced with version
NUGET_KEY: ${{secrets.NUGET_API_KEY}} # nuget.org API key
PACKAGE_NAME: Functions.Misc