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
@@ -209,8 +210,13 @@ jobs:
209210 spack repo update access_spack_packages --commit ${{ steps.packages-ref.outputs.sha }}
210211
211212 # Finally, install the spack manifest
212- spack --debug install --fail-fast --fresh ${{ vars.SPACK_INSTALL_ADDITIONAL_ARGS }} || exit $?
213- spack module tcl refresh -y
213+ spack --debug \
214+ $(for s in ${{ steps.versions.outputs.custom-scopes }}; do echo -n "--custom-scope $s "; done) \
215+ install --fail-fast --fresh ${{ vars.SPACK_INSTALL_ADDITIONAL_ARGS }} || exit $?
216+
217+ spack \
218+ $(for s in ${{ steps.versions.outputs.custom-scopes }}; do echo -n "--custom-scope $s "; done) \
219+ module tcl refresh -y
214220 EOT
215221
216222 - name : Move spack logs
You can’t perform that action at this time.
0 commit comments