I use variables to set the build directory for CI. This works well in linux however the variables do not get expanded on my windows runners. Below is a simple example.
In this example on linux $BUILD_DIR gets expanded correctly.
On windows a directory is created with the variable name ($BUILD_DIR) not the variable value.
Is this a bug I should report or am I doing something wrong?
variables: BUILD_DIR: $CI_PROJECT_DIR/$CI_BUILD_REF_NAME/build
- mkdir $BUILDDIR