Skip to content

Commit cb343de

Browse files
committed
chore: trying to source the env variable file
1 parent f902d5b commit cb343de

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ HANDLERS_TO_BUILD=basic-lambda
77
HANDLER=basic-lambda
88

99
# Output directory for built binaries
10-
OUTPUT_DIR="/tmp/var-task"
10+
OUTPUT_DIR=/tmp/var-task
1111

1212
# Max concurrent Lambda invocations for LMI mode
1313
RIE_MAX_CONCURRENCY=4

.github/workflows/dockerized-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
- name: Load environment variables
2727
run: |
2828
if [ -f .env ]; then
29-
export $(cat .env | grep -v '^#' | xargs)
29+
set -a
30+
source .env
31+
set +a
3032
echo "HANDLERS_TO_BUILD=${HANDLERS_TO_BUILD}" >> $GITHUB_ENV
3133
echo "OUTPUT_DIR=${OUTPUT_DIR}" >> $GITHUB_ENV
3234
fi

0 commit comments

Comments
 (0)