Skip to content

Commit b75bdfb

Browse files
committed
fix: fix missing dependencies
1 parent d315a83 commit b75bdfb

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)