Skip to content

Commit

Permalink
Merge pull request #97 from rhettre/feature/alphasquared
Browse files Browse the repository at this point in the history
Add delay to CI/CD
  • Loading branch information
rhettre authored Oct 13, 2024
2 parents f6ce799 + 186ce72 commit 6862f7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/publish-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Wait for PyPI to update
run: |
echo "Waiting for PyPI to update..."
sleep 300 # Wait for 5 minutes
build-lambda-layer:
needs: deploy
runs-on: ubuntu-latest
Expand All @@ -64,7 +69,8 @@ jobs:
virtualenv venv
source venv/bin/activate
mkdir python
echo "coinbase-advancedtrade-python" > requirements.txt
PACKAGE_VERSION=$(python setup.py --version)
echo "coinbase-advancedtrade-python==$PACKAGE_VERSION" > 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 layer-python3.9-x86_64.zip python
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.3.1',
version='0.3.2',
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 6862f7a

Please sign in to comment.