arbeidstilsynet/Publish .NET NuGet Package
Packs and publishes a .NET package to NuGet. Supports trusted publishing (OIDC) for nuget.org and authenticated publishing for other feeds.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | The directory to run dotnet commands in | yes | — |
| use-trusted-publishing | Use OIDC-based trusted publishing for nuget.org. Requires 'permissions: id-token: write' on the job. Set to 'false' for authenticated publishing to other feeds. | — | true |
| nuget-username | A nuget.org username with trusted publishing configured. Required when use-trusted-publishing is 'true'. | — | — |
| nuget-auth-token | The NuGet auth token. Required when use-trusted-publishing is 'false'. | — | — |
| source-url | The source URL for the NuGet package feed. Override this when publishing to a non-nuget.org feed. | — | https://api.nuget.org/v3/index.json |
| dotnet-version | The version of dotnet to use | — | 10.0.x |
| config-file | Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo. | — | — |
Outputs
no outputs