Skip to content

Commit ff3c32e

Browse files
committed
fix: use RawParam for RecipeDir in conda build job name
The job template's top-level 'name' field referenced {{Param.RecipeDir}}, but RecipeDir is a PATH parameter whose resolved value is not available in the name field. 'openjd check' rejects the template with: Variable Param.RecipeDir does not exist at this location. Did you mean: RawParam.RecipeDir Use {{RawParam.RecipeDir}}, which is the raw submitted value and is valid in this location. The two in-script references keep using {{Param.RecipeDir}}, where PATH resolution is correct. Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
1 parent be3fd55 commit ff3c32e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

conda_recipes/conda_build_linux_package/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
specificationVersion: jobtemplate-2023-09
22

3-
name: "CondaBuild: {{Param.RecipeDir}}"
3+
name: "CondaBuild: {{RawParam.RecipeDir}}"
44
description: |
55
This job uses conda-build to build a Conda package for the conda build recipe and optional attached source archive.
66

0 commit comments

Comments
 (0)