| PROJECT_FILE_PATH | Filepath of the project to be packaged, relative to root of repository | yes | — |
| PACKAGE_NAME | NuGet package id, used for version detection & defaults to project name | no | — |
| VERSION_FILE_PATH | Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH | no | — |
| VERSION_REGEX | Regex pattern to extract version info in a capturing group | no | ^\s*<Version>(.*)<\/Version>\s*$ |
| VERSION_STATIC | Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX | no | — |
| VERSION_STATIC_PREFIX | Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX | no | — |
| VERSION_STATIC_SUFFIX | Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX | no | — |
| ASSEMBLY_VERSION | Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX | no | — |
| FILE_VERSION | Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX | no | — |
| PACKAGE_VERSION | Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX | no | — |
| TAG_COMMIT | Flag to toggle git tagging, enabled by default | no | true |
| TAG_FORMAT | Format of the git tag, [*] gets replaced with actual version | no | v* |
| NUGET_KEY | API key to authenticate with NuGet server | no | — |
| NUGET_SOURCE | NuGet server uri hosting the packages, https://nuget.pkg.github.com or https://api.nuget.org. defaults to https://api.nuget.org | no | https://api.nuget.org |
| INCLUDE_SYMBOLS | Flag to toggle pushing symbols along with nuget package to the server, disabled by default | no | false |
| ERROR_CONTINUE | Flag to set continue the next task when some error happened | no | false |
| NO_BUILD | Flag to toggle building the project before pack, disabled by default | no | false |
| SIGNING_CERT_FILE_NAME | Certificate file name (should be in root folder) to sign the package before upload | no | — |
| GITHUB_USER | Required for packages pushed to Github Package Registry. User allowed to push to repository, defaults to GITHUB_ACTOR (user that triggered the action) | no | — |
| GITHUB_PASSWORD | Github password, defaults to NUGET_KEY | no | — |