Skip to content

Commit fbd0796

Browse files
committed
Revamp how to pass recipe config
1 parent dbcfddd commit fbd0796

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/debian.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
paths:
66
- .github/workflows/debian.yml
7+
- configs
78
- recipes
89

910
concurrency:
@@ -77,9 +78,8 @@ jobs:
7778
version=$(jq -r '.version' ${config})
7879
opts=$(jq -r '.options | join(" -o ") | if length == 0 then "" else "-o " + . end' ${config})
7980
# Create the recipe.
80-
echo "Creating recipe '${name}@${version} with options ${opts}'."
81-
conan create ${dir} \
82-
--name=${name} \
81+
echo "Creating recipe '${name}@${version}' with options '${opts}'."
82+
conan create ${name}/${dir} \
8383
--version=${version} \
8484
--build=missing \
8585
--settings:all=build_type=${{ matrix.build.type }} \

0 commit comments

Comments
 (0)