Skip to content

Commit

Permalink
Merge branch 'main' into fix/numpy-typing-import
Browse files Browse the repository at this point in the history
  • Loading branch information
Gryfenfer97 authored Oct 9, 2023
2 parents 281aea2 + b84acb7 commit f9aa2a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -707,20 +707,18 @@ jobs:
- name: "Install Git and clone project"
uses: actions/checkout@v4

- name: "Get version of library"
shell: bash
run: |
echo "FULL_VERSION=$(cat VERSION)" >> $GITHUB_ENV
- name: "Scrape the stable documentation to PyMeilisearch"
- name: "Install the package requirements"
run: pip install -e .

- name: "Get the version to PyMeilisearch"
run: |
VERSION=$(python -c "import os; version=os.environ['FULL_VERSION']; print('.'.join(version.split('.')[:2]))")
VERSION_MEILI=$(python -c "import os; version=os.environ['FULL_VERSION']; print('-'.join(version.split('.')[:2]))")
VERSION=$(python -c "from ansys.mapdl.core import __version__; print('.'.join(__version__.split('.')[:2]))")
VERSION_MEILI=$(python -c "from ansys.mapdl.core import __version__; print('-'.join(__version__.split('.')[:2]))")
echo "Calculated VERSION: $VERSION"
echo "Calculated VERSION_MEILI: $VERSION_MEILI"
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV
- name: "Deploy the latest documentation index"
uses: ansys/actions/doc-deploy-index@v4
with:
Expand Down Expand Up @@ -750,7 +748,7 @@ jobs:
uses: ansys/actions/doc-deploy-index@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev
index-name: "pymapdl-vdev"
index-name: pymapdl-vdev
host-url: ${{ vars.MEILISEARCH_HOST_URL }}
api-key: ${{ env.MEILISEARCH_API_KEY }}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ doc = [
"sphinx==7.2.6",
"ansys-dpf-core==0.9.0",
"ansys-mapdl-reader==0.52.20",
"ansys-sphinx-theme==0.12.0",
"ansys-sphinx-theme==0.12.2",
"grpcio==1.51.1",
"imageio-ffmpeg==0.4.9",
"imageio==2.31.5",
Expand Down

0 comments on commit f9aa2a9

Please sign in to comment.