Skip to content

Commit d63444a

Browse files
committed
trying pip3
1 parent 9bd1610 commit d63444a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ description: Action will create/publish an AWS Lambda Layer from your GitHub Wor
77
# Lambda Runtimes
88
# https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
99

10+
# Including library dependencies in a layer
11+
# https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html#configuration-layers-path
12+
1013

1114
branding:
1215
icon: layers
@@ -43,7 +46,7 @@ runs:
4346
run: |
4447
if [ "${{ inputs.runtime }}" = "python" ]; then
4548
echo "Building Python Layer"
46-
mkdir -p python && pip install -r requirements.txt -t ./python
49+
mkdir -p python && pip3 install -r requirements.txt -t ./python
4750
zip -r lambda_layer.zip ./python
4851
elif [ "${{ inputs.runtime }}" = "node" ]; then
4952
echo "Building Node Layer"

0 commit comments

Comments
 (0)