File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282 run : |
8383 echo "spack=$(jq --compact-output --raw-output '.spack' ./config/versions.json)" >> $GITHUB_OUTPUT
8484 echo "packages=$(jq --compact-output --raw-output '."access-spack-packages"' ./config/versions.json)" >> $GITHUB_OUTPUT
85+ echo "custom-scopes=$(jq --compact-output --raw-output '."custom-scopes" // [] | join(" ")' ./config/versions.json)" >> $GITHUB_OUTPUT
8586
8687 - name : Get ${{ inputs.deployment-target }} ${{ inputs.deployment-type }} Remote Paths
8788 id : path
@@ -215,8 +216,13 @@ jobs:
215216 spack repo update access_spack_packages --commit ${{ steps.packages-ref.outputs.sha }}
216217
217218 # Finally, install the spack manifest
218- spack --debug install --fail-fast --fresh ${{ vars.SPACK_INSTALL_ADDITIONAL_ARGS }} || exit $?
219- spack module tcl refresh -y
219+ spack --debug \
220+ $(for s in ${{ steps.versions.outputs.custom-scopes }}; do echo -n "--custom-scope $s "; done) \
221+ install --fail-fast --fresh ${{ vars.SPACK_INSTALL_ADDITIONAL_ARGS }} || exit $?
222+
223+ spack \
224+ $(for s in ${{ steps.versions.outputs.custom-scopes }}; do echo -n "--custom-scope $s "; done) \
225+ module tcl refresh -y
220226 EOT
221227
222228 - name : Move spack logs
You can’t perform that action at this time.
0 commit comments