-
Notifications
You must be signed in to change notification settings - Fork 16
/
test.sh
executable file
·34 lines (31 loc) · 1 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env bash
DEBUG=0
export MOCKING=1
export INPUT_MICROMAMBA_URL=""
export INPUT_MICROMAMBA_VERSION=""
export INPUT_LOG_LEVEL=""
export INPUT_CONDARC_FILE=""
export INPUT_CONDARC=""
export INPUT_ENVIRONMENT_FILE=""
export INPUT_ENVIRONMENT_NAME=""
export INPUT_CREATE_ARGS=""
export INPUT_CREATE_ENVIRONMENT="false"
export INPUT_INIT_SHELL=""
export INPUT_GENERATE_RUN_SHELL=""
export INPUT_POST_CLEANUP=""
export INPUT_CACHE_DOWNLOADS=""
export INPUT_CACHE_DOWNLOADS_KEY=""
export INPUT_CACHE_ENVIRONMENT=""
export INPUT_CACHE_ENVIRONMENT_KEY=""
export INPUT_MICROMAMBA_ROOT_PATH="~/debug/micromamba"
export INPUT_MICROMAMBA_BINARY_PATH="~/debug/micromamba/micromamba"
export STATE_CACHE_DOWNLOADS_CACHE_HIT="true"
export INPUT_DOWNLOAD_MICROMAMBA="true"
export RUNNER_TEMP="$(mktemp -d)"
if [ $DEBUG -eq 1 ]; then
node --inspect-brk --enable-source-maps dist/index.js
node --inspect-brk --enable-source-maps dist/post.js
else
node --enable-source-maps dist/index.js
node --enable-source-maps dist/post.js
fi