fix: templates/gitlab-ci-dotnet.yml Faulty 'package-symbols-disabled' variable declaration in dotnet@2.0.0
Describe the bug
Gitlab-ci configuration is invalid. When load the tool in a pipeline using version 2.0.0, Gitlab throw the following error :
"This GitLab CI configuration is invalid: ic-git.esca.intra.fr/components/to-be-continuous/dotnet/gitlab-ci-dotnet@2.0: package-symbols-disabled input: default value is not a string."
When checking the template we see that the declaration of this variable is missing the type : boolean or which back to full string
Expected behavior
The tool can be use in any pipeline properly
Actual behavior
Make gitlab throw an error during pipeline syntax verification
Logs and/or screenshots
Context & Configuration
The issue was reproduced using:
- Version of the template: 2.0.0
- GitLab server(s): selfmanage, CE version, and version 17.5
- GitLab runner(s): Linux runner Alpine
Here is the .gitlab-ci.yml file:
include:
# .NET template
- component: "$CI_SERVER_FQDN/components/to-be-continuous/dotnet/gitlab-ci-dotnet@2.0"
inputs:
image: "mcr.microsoft.com/dotnet/sdk:8.0"
package-symbols-disabled: "true"
format-disabled: true
sbom-disabled: true
publish-enabled: true
nuget-repo: "url-of-our-repo.com"
# Template generate by Kicker
