mirror of
https://github.com/ivuorinen/actions.git
synced 2026-01-26 11:34:00 +00:00
This commit updates all internal action references to point to the current commit SHA in preparation for release v2025.11.23.
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 |
"" |
max-retries |
Maximum number of retry attempts for dependency restoration |
false |
3 |
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
- 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: ""
max-retries:
# Maximum number of retry attempts for dependency restoration
#
# Required: false
# Default: 3