Skip to content

Commit

Permalink
Fix DEPS_WORK_DIR name
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus authored Jul 3, 2024
1 parent 04c89de commit f859c5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ Since version `1.3.1`, `deps` will automatically print `::group::` and `::endgro

It detects this by the presence of the `GITHUB_WORKSPACE` environment variable.

## EDEN_WORK_DIR
## DEPS_WORK_DIR

Since version `1.4.0`, each `deps` invocation will create an empty temporary directory which can be used as a
"work/staging area" by executing code. This has many possible uses:

1. Caching the conda environment used for the `deps` invocation by writing it to a file in `$EDEN_WORK_DIR`.
1. Caching the conda environment used for the `deps` invocation by writing it to a file in `$DEPS_WORK_DIR`.
2. Check if a certain operation has already been executed in the current `deps` invocation, say running a per-repository
operation only once (for example pre-commit), by writing some to a file in `$EDEN_WORK_DIR`.
operation only once (for example pre-commit), by writing some to a file in `$DEPS_WORK_DIR`.

`deps` is responsible for creating a unique directory for each invocation (each invocation uses a different name), so
even different `deps` processes running at the same time will not step on each other's toes.
Expand Down

0 comments on commit f859c5e

Please sign in to comment.