Skip to content

Commit 5e4856e

Browse files
committed
fix(ci): move from pip-tools to poetry on layers
1 parent 615448e commit 5e4856e

File tree

5 files changed

+431
-89
lines changed

5 files changed

+431
-89
lines changed

.github/workflows/publish_layer.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
uses: actions/checkout@v3
2929
with:
3030
fetch-depth: 0
31+
- name: Install poetry
32+
run: pipx install poetry
3133
- name: Setup Node.js
3234
uses: actions/setup-node@v3
3335
with:
@@ -36,7 +38,7 @@ jobs:
3638
uses: actions/setup-python@v4
3739
with:
3840
python-version: "3.9"
39-
cache: "pip"
41+
cache: "poetry"
4042
- name: Set release notes tag
4143
run: |
4244
RELEASE_INPUT=${{ inputs.latest_published_version }}
@@ -48,8 +50,7 @@ jobs:
4850
npm install -g aws-cdk@2.29.0
4951
cdk --version
5052
- name: install deps
51-
run: |
52-
pip install -r requirements.txt
53+
run: poetry install
5354
- name: CDK build
5455
run: cdk synth --context version=$RELEASE_TAG_VERSION -o cdk.out
5556
- name: zip output

0 commit comments

Comments
 (0)