bolvarak/NuGet Build & Publish
Build a .NET project and publish it to a NuGet Server.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| configuration | The build configuration to use when building the project or solution. (values: Debug|Release, default: Release) | no | Release |
| github-organization | The GitHub Organization to publish the generated package to which forces the use of GitHub's NuGet Servers. | no | — |
| nuget-api-key | The API key which is used to authenticate with the NuGet server. | yes | — |
| nuget-auth-for-build | Flag that denotes whether to authenticate with the NuGet Server for the build process. | no | false |
| nuget-password | The password with which to authenticate with the NuGet Server during the build process. | no | — |
| nuget-username | The username with which to authenticate with the NuGet Server during the build process. | no | — |
| nuspec-file | The path, relative to the root of the repository, to the NuSpec file. | no | — |
| output | The output format of the application. (values: Json|Plain|Silent|Xml, default: Silent) | no | Silent |
| package-name | The name of the package to generate, that will be published to the NuGet Server. | no | — |
| platform | The platform to use when building the project or solution. (values: AnyCpy|Arm64|x64|x86, default: AnyCpu) | no | AnyCpu |
| project | The path, relative to the root of the repository, to the project or solution file to be packaged. | yes | — |
| scan-for-package-name | Flag that denotes whether to scan the project or solution file in an attempt to find the package name preferring PackageId over AssemblyName over <project>. (default: false) | no | false |
| verbosity | The output level for the build process. (values: Detailed|Diagnostic|Minimal|Normal|Quiet, default: Minimal) | no | Minimal |
| version | The static version for the NuGet package. | no | — |
Outputs
| name | description |
|---|---|
| NUGET_CONFIG | The generated NuGet.Config file if the nuget-auth-for-build flag is set to true. |
| PACKAGE_NAME | The name of the generated package that was published to the NuGet Server. |
| PACKAGE_PATH | The path to the generated package that was published to the NuGet Server. |
| PROCESS_BUILD_ERROR | The standard error from the process responsible for building the project. |
| PROCESS_BUILD_OUTPUT | The standard output from the process responsible for building the project. |
| PROCESS_CLEAN_ERROR | The standard error from the process responsible for cleaning the project. |
| PROCESS_CLEAN_OUTPUT | The standard output from the process responsible for cleaning the project. |
| PROCESS_NUGET_PUSH_ERROR | The standard error from the process responsible for pushing the package to the NuGet Server. |
| PROCESS_NUGET_PUSH_OUTPUT | The standard output from the process responsible for pushing the package to the NuGet Server. |
| PROCESS_PACK_ERROR | The standard error from the process responsible for packing the project. |
| PROCESS_PACK_OUTPUT | The standard output from the process responsible for packing the project. |
| PROCESS_RESTORE_ERROR | The standard error from the process responsible for restoring the project. |
| PROCESS_RESTORE_OUTPUT | The standard output from the process responsible for restoring the project. |
| VERSION | The version of the generated package that was published to the NuGet Server. |