actions-marketplace-validations/ZyAction: .NET Restore
A GitHub Action that wraps the .NET CLI `dotnet restore` command.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | The working-directory for the action. Defaults to the repository root directory (`github.workspace`). If a specific .NET SDK version is to be used, the working directory must point to the directory that contains the `global.json` or a subdirectory of it. | no | ${{ github.workspace }} |
| workspace | The Visual Studio workspace (directory, project- or solution-file). This path is relative to the `working-directory` unless an absolute path is used. | no | "" |
| configfile | The NuGet configuration file (nuget.config) to use. If specified, only the settings from this file will be used. If not specified, the hierarchy of configuration files from the current directory will be used. | no | "" |
| ignore-failed-sources | Only warn about failed sources if there are packages meeting the version requirement. | no | false |
| force | Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the 'project.assets.json' file. | no | false |
| force-evaluate | Forces restore to reevaluate all dependencies even if a lock file already exists. | no | false |
| use-lock-file | Enables project lock file to be generated and used with restore. | no | false |
| lock-file-path | Output location where project lock file is written. By default, this is 'PROJECT_ROOT\packages.lock.json'. | no | "" |
| locked-mode | Don't allow updating project lock file. | no | false |
Outputs
no outputs