From f00692343fc82442db2b69e3d4438a9f73bf9641 Mon Sep 17 00:00:00 2001 From: Brodie Blackburn Date: Tue, 26 Nov 2024 06:30:43 +1000 Subject: [PATCH] wip - document cache and dependencies --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index da127d8..7a13f7a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,6 +24,7 @@ jobs: ./local/bin ~/micromamba ~/.local/pipx + # Install binaries, Mamba environment and Python dependencies if there is NOT a cache hit. - if: steps.cache.outputs.cache-hit != 'true' run: | # Install latest micromamba (https://github.com/mamba-org/micromamba-releases/releases). @@ -32,7 +33,7 @@ jobs: # Install Poetry. pipx install poetry~=1.8 - # Create Mamba environment. + # Create Mamba environment from file. export MAMBA_ROOT_PREFIX=~/micromamba eval "$(micromamba shell hook -s posix)" micromamba create --file environment.yml --yes