Skip to content

Commit 6f8e75a

Browse files
authored
Fix stable doc index deployment (#1304)
* Comment-out other jobs * Try not editable install * Comment-out dependency on stable doc deployment * Debug * Debug * Debug * Try using a venv * Try using a venv * Needs upload of doc * Needs upload of doc * Revert commenting
1 parent 0378d31 commit 6f8e75a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/releaser.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@ jobs:
8686
ref: ${{ github.event.inputs.checkout_ref || '' }}
8787

8888
- name: "Install the package requirements"
89-
run: pip install -e .
89+
run: |
90+
python3 -m venv .venv
91+
.venv/bin/python -m pip install -e .
9092
9193
- name: "Get the version to PyMeilisearch"
9294
run: |
93-
VERSION=$(python -c "from ansys.dpf.core import __version__; print('.'.join(__version__.split('.')[:2]))")
94-
VERSION_MEILI=$(python -c "from ansys.dpf.core import __version__; print('-'.join(__version__.split('.')[:2]))")
95+
VERSION=$(.venv/bin/python -c "from ansys.dpf.core import __version__; print('.'.join(__version__.split('.')[:2]))")
96+
VERSION_MEILI=$(.venv/bin/python -c "from ansys.dpf.core import __version__; print('-'.join(__version__.split('.')[:2]))")
9597
echo "Calculated VERSION: $VERSION"
9698
echo "Calculated VERSION_MEILI: $VERSION_MEILI"
9799
echo "VERSION=$VERSION" >> $GITHUB_ENV

0 commit comments

Comments
 (0)