File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,22 @@ jobs:
1616 - name : Set up Python
1717 uses : actions/setup-python@v5
1818 with :
19- python-version : ' 3.x '
19+ python-version : ' 3.12 '
2020
2121 - name : Install AWS SAM CLI
2222 run : pip install aws-sam-cli
2323
24+ - name : Pre-install dependencies for Lambda compatibility
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install --platform manylinux2014_x86_64 --only-binary=all pydantic-core
28+ pip install --platform manylinux2014_x86_64 --only-binary=all pydantic
29+
2430 - name : Build with SAM
25- run : sam build --use-container
31+ run : |
32+ sam build --use-container
33+ echo "Checking for compiled extensions..."
34+ find .aws-sam/build -name "*.so" -exec file {} \;
2635
2736 - name : Zip the contents
2837 id : zip
You can’t perform that action at this time.
0 commit comments