We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d68bdb9 commit 7d9b321Copy full SHA for 7d9b321
1 file changed
.github/workflows/deploy-to-lambda.yml
@@ -36,9 +36,8 @@ jobs:
36
37
- name: Build zip
38
run: |
39
- hatch build
40
- hatch shell
41
- HATCH_SITE_PACKAGES_DIR=$(echo $(python -c 'import site; print(site.getsitepackages()[0])'))
+ hatch build -t zipped-directory
+ HATCH_SITE_PACKAGES_DIR=$(hatch env find)/lib/python3.12/site-packages
42
pattern="dist/*.zip"
43
dist_files=( $pattern )
44
zip -r ${files[0]} $HATCH_SITE_PACKAGES_DIR
0 commit comments