buildTemplatableIntEnvVar returns a YAML environment variable entry for a templatable integer field. If value is a GitHub Actions expression it is embedded unquoted so that GitHub Actions can evaluate it at runtime; otherwise the literal string is quoted. Returns nil if value is nil.
(envVarName string, value *string)
| 294 | // embedded unquoted so that GitHub Actions can evaluate it at runtime; |
| 295 | // otherwise the literal string is quoted. Returns nil if value is nil. |
| 296 | func buildTemplatableIntEnvVar(envVarName string, value *string) []string { |
| 297 | return buildTemplatableEnvVar(envVarName, value) |
| 298 | } |
| 299 | |
| 300 | // AddTemplatableInt adds a templatable integer field to the handler config. |
| 301 | // |
no test coverage detected