We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a5925b commit 41448b8Copy full SHA for 41448b8
.github/workflows/ci.yml
@@ -144,7 +144,8 @@ jobs:
144
DEP_VER=$(yq ".spack.packages.\"$DEP\".require[0] | match(\"^@(?:git.)?([^=]*)\").captures[0].string" spack.yaml)
145
fi
146
147
- MODULE_VER=$(yq ".spack.modules.default.tcl.projections.\"$DEP\" | split(\"/\") | .[1]" spack.yaml)
+ MODULE_NAME=$(yq ".spack.modules.default.tcl.projections.\"$DEP\"" spack.yaml)
148
+ MODULE_VER="${MODULE_NAME#*/}" # Get 'version' from 'name/version' module, even if version contains '/'
149
150
if [[ "$DEP_VER" != "$MODULE_VER" ]]; then
151
echo "::error::$DEP: Version of dependency and projection do not match ($DEP_VER != $MODULE_VER)"
0 commit comments