Skip to content

[ci] restore nuget artifact creation - #6593

Merged
StrikerRUS merged 4 commits into
masterfrom
ci/nuget
Aug 6, 2024
Merged

StrikerRUS merged 4 commits into
masterfrom
ci/nuget

Conversation

@StrikerRUS

Copy link
Copy Markdown
Collaborator

I'm sorry, I somehow overlooked one nuget occurrence in #6581. It resulted in empty NuGet artifact.

NuGetCommand job before #6581:

Starting: NuGetCommand
==============================================================================
Task         : NuGet
Description  : Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task.
Version      : 2.238.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget
==============================================================================
Caching tool: NuGet 4.9.6 x64
Found tool in cache: NuGet 4.9.6 x64
Resolved from tool cache: 4.9.6
Using version: 4.9.6
Found tool in cache: NuGet 4.9.6 x64
Attempting to pack file: /home/vsts/work/1/s/.nuget/LightGBM.nuspec
/usr/bin/mono /opt/hostedtoolcache/NuGet/4.9.6/x64/nuget.exe pack /home/vsts/work/1/s/.nuget/LightGBM.nuspec -NonInteractive -OutputDirectory /home/vsts/work/1/a/nuget -Verbosity Detailed
NuGet Version: 4.9.6.8
Attempting to build package from 'LightGBM.nuspec'.

Id: LightGBM
Version: 4.5.0.99
Authors: Guolin Ke
Description: A fast, distributed, high performance gradient boosting framework
Project Url: https://github.com/microsoft/LightGBM
Tags: machine-learning, data-mining, distributed, native, boosting, gbdt
Dependencies: None

Added file '[Content_Types].xml'.
Added file '_rels/.rels'.
Added file 'build/LightGBM.props'.
Added file 'build/LightGBM.targets'.
Added file 'LightGBM.nuspec'.
Added file 'package/services/metadata/core-properties/6705225962884ae1870f68bca0710dbc.psmdcp'.
Added file 'runtimes/linux-x64/native/lib_lightgbm.so'.
Added file 'runtimes/osx-x64/native/lib_lightgbm.dylib'.
Added file 'runtimes/win-x64/native/lib_lightgbm.dll'.
Added file 'runtimes/win-x64/native/lightgbm.exe'.

Successfully created package '/home/vsts/work/1/a/nuget/LightGBM.4.5.0.99.nupkg'.
Finishing: NuGetCommand

https://dev.azure.com/lightgbm-ci/lightgbm-ci/_build/results?buildId=16754&view=logs&j=1d2f55de-c984-5e06-0d18-75388f298a89&t=307511b8-9d21-5cb4-f937-677cd350b1b1&l=1


NuGetCommand job after #6581:

Starting: NuGetCommand
==============================================================================
Task         : NuGet
Description  : Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task.
Version      : 2.238.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget
==============================================================================
Caching tool: NuGet 4.9.6 x64
Found tool in cache: NuGet 4.9.6 x64
Resolved from tool cache: 4.9.6
Using version: 4.9.6
Found tool in cache: NuGet 4.9.6 x64
Finishing: NuGetCommand

https://dev.azure.com/lightgbm-ci/lightgbm-ci/_build/results?buildId=16797&view=logs&j=1d2f55de-c984-5e06-0d18-75388f298a89&t=307511b8-9d21-5cb4-f937-677cd350b1b1&l=1


NuGetCommand job with this PR:

Starting: NuGetCommand
==============================================================================
Task         : NuGet
Description  : Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task.
Version      : 2.238.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget
==============================================================================
Caching tool: NuGet 4.9.6 x64
Found tool in cache: NuGet 4.9.6 x64
Resolved from tool cache: 4.9.6
Using version: 4.9.6
Found tool in cache: NuGet 4.9.6 x64
Attempting to pack file: /home/vsts/work/1/s/.ci/nuget/LightGBM.nuspec
/usr/bin/mono /opt/hostedtoolcache/NuGet/4.9.6/x64/nuget.exe pack /home/vsts/work/1/s/.ci/nuget/LightGBM.nuspec -NonInteractive -OutputDirectory /home/vsts/work/1/a/nuget -Verbosity Detailed
NuGet Version: 4.9.6.8
Attempting to build package from 'LightGBM.nuspec'.

Id: LightGBM
Version: 4.5.0.99
Authors: Guolin Ke
Description: A fast, distributed, high performance gradient boosting framework
Project Url: https://github.com/microsoft/LightGBM
Tags: machine-learning, data-mining, distributed, native, boosting, gbdt
Dependencies: None

Added file '[Content_Types].xml'.
Added file '_rels/.rels'.
Added file 'build/LightGBM.props'.
Added file 'build/LightGBM.targets'.
Added file 'LightGBM.nuspec'.
Added file 'package/services/metadata/core-properties/12afcaf97a564b56a37d0104795543c9.psmdcp'.
Added file 'runtimes/linux-x64/native/lib_lightgbm.so'.
Added file 'runtimes/osx-x64/native/lib_lightgbm.dylib'.
Added file 'runtimes/win-x64/native/lib_lightgbm.dll'.
Added file 'runtimes/win-x64/native/lightgbm.exe'.

Successfully created package '/home/vsts/work/1/a/nuget/LightGBM.4.5.0.99.nupkg'.
Finishing: NuGetCommand

https://dev.azure.com/lightgbm-ci/lightgbm-ci/_build/results?buildId=16825&view=logs&j=1d2f55de-c984-5e06-0d18-75388f298a89&t=307511b8-9d21-5cb4-f937-677cd350b1b1&l=1

@jameslamb jameslamb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! I missed this one too. Thank you for fixing it.

@StrikerRUS
StrikerRUS merged commit e7edb6c into master Aug 6, 2024
@StrikerRUS
StrikerRUS deleted the ci/nuget branch August 6, 2024 21:13
@github-actions

github-actions Bot commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked since there has not been any recent activity since it was closed.
To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants