We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86e3dd5 commit c4b8c09Copy full SHA for c4b8c09
1 file changed
.github/workflows/deploy-to-lambda.yml
@@ -41,11 +41,9 @@ jobs:
41
zip_file=$(find "$dist_dir" -type f -name "*.zip" -print -quit)
42
build_file=$(realpath "$zip_file")
43
echo "Zip file found: $build_file"
44
- HATCH_SITE_PACKAGES_DIR=$(hatch env find default)
45
- parentdir="$(dirname "$HATCH_SITE_PACKAGES_DIR")"
46
- parentdir="$(dirname "$parentdir")"
47
- ls -lah $parentdir
48
- cd $HATCH_SITE_PACKAGES_DIR/lib/python3.12/site-packages
+ hatch env create
+ HATCH_SITE_PACKAGES_DIR=$(hatch env find)/lib/python3.12/site-packages
+ cd $HATCH_SITE_PACKAGES_DIR
49
zip -r $build_file *
50
shell: bash
51
0 commit comments