-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix NuGetBuild not taking effect in the publish-nuget action (OSOE-842) #342
Comments
This last worked on the 28th February here. Possibly between .NET 8.0.201 and 8.0.204 this broke. |
Perhaps the .NET SDK change broke |
I already tried that on the parameters that are passed to NewNuGetPackage ps1 script or what it's called. Though I might missed something. |
BTW since we use |
And BTW this HL publish also worked two weeks ago. So, NuGet publishing is not completely broken. However, that project doesn't use |
Mark https://github.com/EasyOC/EasyOC.Modules/actions/runs/8861373253/job/24333516410
|
That's not this issue. You try to publish a .NET 8 project while the workflow sets up .NET 6.x. You'll need to pull the latest form this repo into EasyOC/GitHub-Actions, since the current version uses .NET 8, or configure .NET 8 with this option: https://github.com/Lombiq/GitHub-Actions/blob/dev/.github/workflows/publish-nuget.yml#L28 BTW now we have versioning in this project, so you don't necessarily need to fork it, you can also reference |
Problem solved, thanks for guidance! 👍 |
Awesome! |
Investigation notes:
Fixed working publish: https://github.com/Lombiq/UI-Testing-Toolbox/actions/runs/8884157839/job/24394552735. |
See: https://github.com/Lombiq/UI-Testing-Toolbox/actions/runs/8836448057/job/24264925167
It seems like -p:NuGetBuild=true is not applied.
This is indicated here, because the action searches for
Lombiq.HelpfulLibraries.OrchardCore.csproj
instead of using the NuGet package: https://github.com/Lombiq/UI-Testing-Toolbox/actions/runs/8836448057/job/24264925167#step:4:207 and also here forLombiq.Npm.Targets.props
: https://github.com/Lombiq/UI-Testing-Toolbox/actions/runs/8836448057/job/24264925167#step:4:1304Jira issue
The text was updated successfully, but these errors were encountered: