2021-05-14 21:09:45 +00:00
|
|
|
if [ "${OS}" = "WINDOWS" ] ; then
|
|
|
|
export GHCUP_INSTALL_BASE_PREFIX="$CI_PROJECT_DIR"
|
2021-09-19 11:50:51 +00:00
|
|
|
export GHCUP_BIN="$CI_PROJECT_DIR/ghcup/bin"
|
|
|
|
export PATH="$GHCUP_BIN:$CI_PROJECT_DIR/.local/bin:$PATH"
|
2021-05-14 21:09:45 +00:00
|
|
|
export TMPDIR="$CI_PROJECT_DIR/tmp"
|
|
|
|
else
|
|
|
|
export GHCUP_INSTALL_BASE_PREFIX="$CI_PROJECT_DIR"
|
2021-09-19 11:50:51 +00:00
|
|
|
export GHCUP_BIN="$CI_PROJECT_DIR/.ghcup/bin"
|
2021-10-26 17:10:54 +00:00
|
|
|
export PATH="$GHCUP_BIN:$CI_PROJECT_DIR/.local/bin:$PATH"
|
2021-05-14 21:09:45 +00:00
|
|
|
export TMPDIR="$CI_PROJECT_DIR/tmp"
|
|
|
|
fi
|