Skip to content

Commit

Permalink
Fix stable doc index deployment (#1304)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
PProfizi authored Nov 30, 2023
1 parent 0378d31 commit 6f8e75a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,14 @@ jobs:
ref: ${{ github.event.inputs.checkout_ref || '' }}

- name: "Install the package requirements"
run: pip install -e .
run: |
python3 -m venv .venv
.venv/bin/python -m pip install -e .
- name: "Get the version to PyMeilisearch"
run: |
VERSION=$(python -c "from ansys.dpf.core import __version__; print('.'.join(__version__.split('.')[:2]))")
VERSION_MEILI=$(python -c "from ansys.dpf.core import __version__; print('-'.join(__version__.split('.')[:2]))")
VERSION=$(.venv/bin/python -c "from ansys.dpf.core import __version__; print('.'.join(__version__.split('.')[:2]))")
VERSION_MEILI=$(.venv/bin/python -c "from ansys.dpf.core import __version__; print('-'.join(__version__.split('.')[:2]))")
echo "Calculated VERSION: $VERSION"
echo "Calculated VERSION_MEILI: $VERSION_MEILI"
echo "VERSION=$VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 6f8e75a

Please sign in to comment.