File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: Create Deployment Spack
2
2
on :
3
3
workflow_dispatch :
4
4
inputs :
5
+ spack-git-url :
6
+ type : string
7
+ required : true
8
+ default : ' https://github.com/access-nri/spack.git'
9
+ description : Git URL for the spack repository
5
10
spack-version :
6
11
type : string
7
12
required : true
50
55
run : |
51
56
ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -i ${{ steps.ssh.outputs.private-key-path }} /bin/bash <<'EOT'
52
57
mkdir ${{ env.ROOT_VERSION_LOCATION }} || exit $?
53
- git -C ${{ env.ROOT_VERSION_LOCATION }} clone -c feature.manyFiles=true https://github.com/ spack/spack. git --branch ${{ inputs.spack-version }} --single-branch --depth=1
58
+ git -C ${{ env.ROOT_VERSION_LOCATION }} clone -c feature.manyFiles=true ${{ inputs. spack- git-url }} --branch ${{ inputs.spack-version }} --single-branch --depth=1
54
59
git -C ${{ env.ROOT_VERSION_LOCATION }} clone https://github.com/ACCESS-NRI/spack-packages.git --branch ${{ inputs.spack-packages-version }}
55
60
git -C ${{ env.ROOT_VERSION_LOCATION }} clone https://github.com/ACCESS-NRI/spack-config.git --branch ${{ inputs.spack-config-version }}
56
61
ln -s -r -v ${{ env.ROOT_VERSION_LOCATION }}/spack-config/v${{ steps.strip.outputs.version-dir }}/${{ vars.DEPLOYMENT_TARGET }}/* ${{ env.ROOT_VERSION_LOCATION }}/spack/etc/spack/
You can’t perform that action at this time.
0 commit comments