I just setup publish-nuget on my project. It runs on check-ins and detects the version number just fine, but it doesn't seem to do anything. There's no new version tagged in GitHub and the NuGet package isn't updated.
The package that is there now was uploaded manually.
I added the nuget api key to my GitHub secrets named as referenced and updated the yml file with the path to my csproj. Everything else is left as default.
Thanks!
Sam
Logs
Set up job2s
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200525.2/images/linux/Ubuntu1804-README.md
Current runner version: '2.169.1'
Operating System
Ubuntu
18.04.4
LTS
Virtual Environment
Environment: ubuntu-18.04
Version: 20200525.2
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200525.2/images/linux/Ubuntu1804-README.md
Prepare workflow directory
Prepare all required actions
Download action repository 'actions/checkout@v2'
Download action repository 'rohith/publish-nuget@v2'
Run actions/checkout@v21s
Branch 'master' set up to track remote branch 'master' from 'origin'.
Run actions/checkout@v2
Syncing repository: samuelneff/MimeTypeMap
Getting Git version info
Deleting the contents of '/home/runner/work/MimeTypeMap/MimeTypeMap'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
Checking out the ref
/usr/bin/git log -1
commit 002592449518143aabfc0bdf3a4752ee2a779649
Author: Samuel Neff samuelneff@users.noreply.github.com
Date: Sun Jun 21 19:34:12 2020 -0400
I just setup
publish-nuget
on my project. It runs on check-ins and detects the version number just fine, but it doesn't seem to do anything. There's no new version tagged in GitHub and the NuGet package isn't updated.https://github.com/samuelneff/MimeTypeMap
https://www.nuget.org/packages/MimeTypeMapOfficial/
The package that is there now was uploaded manually.
I added the nuget api key to my GitHub secrets named as referenced and updated the yml file with the path to my csproj. Everything else is left as default.
Thanks!
Sam
Logs
Set up job2s Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200525.2/images/linux/Ubuntu1804-README.md Current runner version: '2.169.1' Operating System Ubuntu 18.04.4 LTS Virtual Environment Environment: ubuntu-18.04 Version: 20200525.2 Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200525.2/images/linux/Ubuntu1804-README.md Prepare workflow directory Prepare all required actions Download action repository 'actions/checkout@v2' Download action repository 'rohith/publish-nuget@v2' Run actions/checkout@v21s Branch 'master' set up to track remote branch 'master' from 'origin'. Run actions/checkout@v2 Syncing repository: samuelneff/MimeTypeMap Getting Git version info Deleting the contents of '/home/runner/work/MimeTypeMap/MimeTypeMap' Initializing the repository Disabling automatic garbage collection Setting up auth Fetching the repository Determining the checkout info Checking out the ref /usr/bin/git log -1 commit 002592449518143aabfc0bdf3a4752ee2a779649 Author: Samuel Neff samuelneff@users.noreply.github.com Date: Sun Jun 21 19:34:12 2020 -0400
publish on version change0s INCLUDE_SYMBOLS: false Run rohith/publish-nuget@v2 with: PROJECT_FILE_PATH: src/MimeTypes/MimeTypes.csproj VERSION_REGEX:(.)<\/Version>
TAG_COMMIT: true
TAG_FORMAT: v
NUGET_SOURCE: https://api.nuget.org
INCLUDE_SYMBOLS: false
Project Filepath: src/MimeTypes/MimeTypes.csproj
Version Filepath: src/MimeTypes/MimeTypes.csproj
Version Regex: /(.*)<\/Version>/
Version: 1.0.5
Package Name: MimeTypes
Post Run actions/checkout@v20s
/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http.https\:\/\/github.com\/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
Post job cleanup.
/usr/bin/git version
git version 2.26.2
/usr/bin/git config --local --name-only --get-regexp core.sshCommand
/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
/usr/bin/git config --local --name-only --get-regexp http.https\:\/\/github.com\/.extraheader
http.https://github.com/.extraheader
/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http.https\:\/\/github.com\/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
Complete job0s
Cleaning up orphan processes