Skip to content

Commit

Permalink
Update layer naming
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettre committed Jul 28, 2024
1 parent 9a2c216 commit 60ba7d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release-lambda.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 60ba7d8

Please sign in to comment.