mirror of
https://github.com/ivuorinen/actions.git
synced 2026-02-04 13:43:01 +00:00
Add missing max-retries input declaration that was being used by the step-security/retry step at line 171 but not defined in the inputs section. Changes: - Add max-retries input with default value of '3' - Add description for dependency restoration retry attempts - Regenerate README.md with updated inputs documentation This fixes undefined input reference in the Restore Dependencies step.
59 lines
1.7 KiB
Markdown
59 lines
1.7 KiB
Markdown
# ivuorinen/actions/csharp-publish
|
|
|
|
## C# Publish
|
|
|
|
### Description
|
|
|
|
Publishes a C# project to GitHub Packages.
|
|
|
|
### Inputs
|
|
|
|
| name | description | required | default |
|
|
|------------------|--------------------------------------------------------------------|----------|-------------|
|
|
| `dotnet-version` | <p>Version of .NET SDK to use.</p> | `false` | `""` |
|
|
| `namespace` | <p>GitHub namespace for the package.</p> | `true` | `ivuorinen` |
|
|
| `token` | <p>GitHub token with package write permissions</p> | `false` | `""` |
|
|
| `max-retries` | <p>Maximum number of retry attempts for dependency restoration</p> | `false` | `3` |
|
|
|
|
### Outputs
|
|
|
|
| name | description |
|
|
|-------------------|-------------------------------------------------|
|
|
| `publish_status` | <p>Overall publish status (success/failure)</p> |
|
|
| `package_version` | <p>Version of the published package</p> |
|
|
| `package_url` | <p>URL of the published package</p> |
|
|
|
|
### 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: ""
|
|
|
|
max-retries:
|
|
# Maximum number of retry attempts for dependency restoration
|
|
#
|
|
# Required: false
|
|
# Default: 3
|
|
```
|