Skip to content

Commit 1816551

Browse files
chore(ci): adding poetry export plugin to support v2 (#5941)
Adding export plugin
1 parent 2a7a9aa commit 1816551

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/publish_v3_layer.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ jobs:
102102
artifact_name: ${{ inputs.source_code_artifact_name }}
103103

104104
- name: Install poetry
105-
run: pipx install git+https://github.com/python-poetry/poetry@bd500dd3bdfaec3de6894144c9cedb3a9358be84 # v2.0.1
105+
run: |
106+
pipx install git+https://github.com/python-poetry/poetry@bd500dd3bdfaec3de6894144c9cedb3a9358be84 # v2.0.1
107+
pipx inject poetry git+https://github.com/python-poetry/poetry-plugin-export@8c83d26603ca94f2e203bfded7b6d7f530960e06 # v1.8.0
106108
- name: Setup Node.js
107109
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
108110
with:

.github/workflows/reusable_deploy_v3_layer_stack.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ jobs:
153153
artifact_name: ${{ inputs.source_code_artifact_name }}
154154

155155
- name: Install poetry
156-
run: pipx install git+https://github.com/python-poetry/poetry@bd500dd3bdfaec3de6894144c9cedb3a9358be84 # v2.0.1
156+
run: |
157+
pipx install git+https://github.com/python-poetry/poetry@bd500dd3bdfaec3de6894144c9cedb3a9358be84 # v2.0.1
158+
pipx inject poetry git+https://github.com/python-poetry/poetry-plugin-export@8c83d26603ca94f2e203bfded7b6d7f530960e06 # v1.8.0
157159
- name: Configure AWS credentials
158160
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
159161
with:

0 commit comments

Comments
 (0)