Skip to content

Commit

Permalink
use poetry in bin directly
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyParkerJ committed Oct 5, 2024
1 parent e1fcfd9 commit 551ef7c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy-to-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
python3 -m venv $POETRY_HOME
$POETRY_HOME/bin/pip install poetry==1.2.0
$POETRY_HOME/bin/poetry --version
poetry install --only main --sync
poetry shell
poetry build
poetry run pip install --upgrade -t package dist/*.whl
- name: Build Project
run: |
$POETRY_HOME/bin/poetry install --only main --sync
$POETRY_HOME/bin/poetry shell
$POETRY_HOME/bin/poetry build
$POETRY_HOME/bin/poetry run pip install --upgrade -t package dist/*.whl
cd package ; zip -r ../artifact.zip . -x '*.pyc'
# mkdir -p dist/lambda-package
Expand Down

0 comments on commit 551ef7c

Please sign in to comment.