From b37ee628b63732ca692ce26d45f04b136d77719e Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Thu, 7 Mar 2024 19:02:53 -0500 Subject: [PATCH] fix(colab): set unique path for constructor script Signed-off-by: Cameron Smith --- .github/workflows/colab.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/colab.yml b/.github/workflows/colab.yml index d58035268..851d083fa 100644 --- a/.github/workflows/colab.yml +++ b/.github/workflows/colab.yml @@ -68,15 +68,17 @@ jobs: source $CONDA/etc/profile.d/conda.sh conda activate constructor set -x - mkdir -p scripts/ + mkdir -p constructorscript/ conda list - CONDA_SOLVER=libmamba CONDA_VERBOSITY=1 CONDA_OVERRIDE_CUDA="12.2" constructor conda/colab/ --output-dir=scripts/ + CONDA_SOLVER=libmamba CONDA_VERBOSITY=1 CONDA_OVERRIDE_CUDA="12.2" constructor conda/colab/ --output-dir=constructorscript/ - name: "Authenticate to Google Cloud" uses: "google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c" # ratchet:google-github-actions/auth@v2 with: credentials_json: "${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_DATA }}" - name: "Upload environment to GCS" - uses: "google-github-actions/upload-cloud-storage@e95a15f226403ed658d3e65f40205649f342ba2c" # ratchet:google-github-actions/upload-cloud-storage@v1 + uses: "google-github-actions/upload-cloud-storage@22121cd842b0d185e042e28d969925b538c33d77" # ratchet:google-github-actions/upload-cloud-storage@v2 with: - path: "scripts" - destination: "pyrovelocity/data" + path: "constructorscript" + destination: "pyrovelocity/data/scripts" + parent: false + glob: "*.sh"