The NuGet Spec Action action is used to generate the nuspec NuSpec for a new package.
NuGet Spec
...
Package Name / Project File
The package for the nuspec NuSpec file, or the location of a .proj file (the package name will automatically be derived from the project name).
Output Directory
The folder where the nuspec file NuSpec file will be created. Ignored with project file.
...
Overwrite
If this is ticked, the nuspec NuSpec file will be overwritten if it already exists.
...