mirror of
https://github.com/ivuorinen/actions.git
synced 2026-03-02 18:53:58 +00:00
* fix(deps): replace step-security/retry with nick-fields/retry * chore(deps): update github action sha pins via pinact * refactor: remove common-retry references from tests and validators * chore: simplify description fallback and update action count * docs: remove hardcoded test counts from memory and docs Replace exact "769 tests" references with qualitative language so these files don't go stale as test count grows.
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