Skip to content

Commit 754a283

Browse files
committed
[DOP-23620] Fix release pipeline
1 parent c467452 commit 754a283

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
with:
3636
python-version: ${{ env.DEFAULT_PYTHON }}
3737

38+
- name: Install poetry
39+
uses: snok/install-poetry@v1
40+
3841
- name: Cache poetry
3942
uses: actions/cache@v4
4043
with:
@@ -44,17 +47,14 @@ jobs:
4447
${{ runner.os }}-python-${{ env.DEFAULT_PYTHON }}-release-${{ hashFiles('**/poetry.lock') }}
4548
${{ runner.os }}-python-
4649
47-
- name: Install poetry
48-
uses: snok/install-poetry@v1
49-
5050
- name: Install dependencies
5151
run: |
52-
poetry config virtualenvs.create false
5352
poetry install --no-root --all-extras --without test,dev,docs
5453
5554
- name: Generate OpenAPI Schema
5655
run: |
57-
python -m syncmaster.server.scripts.export_openapi_schema docs/_static/openapi.json
56+
source .env.local
57+
poetry run python -m syncmaster.server.scripts.export_openapi_schema docs/_static/openapi.json
5858
5959
- name: Fix logo in Readme
6060
run: |

0 commit comments

Comments
 (0)