diff --git a/.github/workflows/concretize-current-nightly.yaml b/.github/workflows/concretize-current-nightly.yaml index b66d1574..d4669ac0 100644 --- a/.github/workflows/concretize-current-nightly.yaml +++ b/.github/workflows/concretize-current-nightly.yaml @@ -42,7 +42,6 @@ jobs: cat <<'EOF' > ${GITHUB_WORKSPACE}/script_container.sh set -e - cd / if [ "${{ matrix.image }}" = "alma9" ]; then os=almalinux9 @@ -56,6 +55,7 @@ jobs: rel=$(find /cvmfs/sw-nightlies.hsf.org/key4hep/releases/ -maxdepth 3 -type f -wholename "*$os*opt*/.scratch" | sort -r | head -1) rel=$(dirname $rel) + cd / git clone https://github.com/spack/spack -q cd /spack git checkout $(cat /key4hep-spack/.latest-commit) diff --git a/.github/workflows/concretize.yaml b/.github/workflows/concretize.yaml index 1c59d478..423b5629 100644 --- a/.github/workflows/concretize.yaml +++ b/.github/workflows/concretize.yaml @@ -39,10 +39,8 @@ jobs: cat <<'EOF' > ${GITHUB_WORKSPACE}/script_container.sh set -e - cd / - ls -lah / - ls -lah /key4hep-spack + cd / git clone https://github.com/spack/spack -q source spack/share/spack/setup-env.sh