# ivuorinen/actions/csharp-publish ## C# Publish ### Description Publishes a C# project to GitHub Packages. ### Inputs | name | description | required | default | |------------------|----------------------------------------------------|----------|-------------| | `dotnet-version` |
Version of .NET SDK to use.
| `false` | `""` | | `namespace` |GitHub namespace for the package.
| `true` | `ivuorinen` | | `token` |GitHub token with package write permissions
| `false` | `""` | ### Outputs | name | description | |-------------------|-------------------------------------------------| | `publish_status` |Overall publish status (success/failure)
| | `package_version` |Version of the published package
| | `package_url` |URL of the published package
| ### Runs This action is a `composite` action. ### Usage ```yaml - uses: ivuorinen/actions/csharp-publish@main with: dotnet-version: # Version of .NET SDK to use. # # Required: false # Default: "" namespace: # GitHub namespace for the package. # # Required: true # Default: ivuorinen token: # GitHub token with package write permissions # # Required: false # Default: "" ```