diff --git a/.github/workflows/release-lambda.yml b/.github/workflows/release-lambda.yml index e7d7acd..5cde04f 100644 --- a/.github/workflows/release-lambda.yml +++ b/.github/workflows/release-lambda.yml @@ -1,3 +1,10 @@ +# This workflow will build and upload a Python Lambda Layer when a release is created +# The layer is compatible with AWS Lambda Functions using Python 3.9 and x86_64 architecture +# For more information on Lambda Layers, see: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html + +# Note: This layer is specifically built for Python 3.9 and x86_64 architecture due to the build process. +# If you need layers for different Python versions or architectures, you'll need to modify the build step. + name: Build and Release Lambda Layer on: @@ -27,7 +34,7 @@ jobs: mkdir python echo "coinbase-advancedtrade-python" > requirements.txt docker run --rm -v "$PWD":/var/task public.ecr.aws/sam/build-python3.9:latest /bin/sh -c "pip install --platform manylinux2014_x86_64 --implementation cp --python 3.9 --only-binary=:all: --upgrade -r requirements.txt -t python" - zip -r lambda_layer.zip python + zip -r layer-python3.9-x86_64.zip python - name: Upload Layer to Release uses: actions/upload-release-asset@v1 diff --git a/setup.py b/setup.py index cea950a..e53f329 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='coinbase-advancedtrade-python', - version='0.2.3', + version='0.2.4', description='The unofficial Python client for the Coinbase Advanced Trade API', long_description=long_description, long_description_content_type="text/markdown",