Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update image to 24.1 #143

Merged
merged 2 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 1 addition & 20 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ on:

env:
MAIN_PYTHON_VERSION: '3.9'
PYMECHANICAL_VERSION: '23.2'
RESET_EXAMPLES_CACHE: 0
RESET_DOC_BUILD_CACHE: 0

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -51,7 +48,7 @@ jobs:
name: Documentation building
runs-on: public-ubuntu-latest-8-cores
container:
image: ghcr.io/ansys/mechanical:23.2.0
image: ghcr.io/ansys/mechanical:24.1.0
options: --entrypoint /bin/bash
needs: [style, doc-style]

Expand Down Expand Up @@ -84,22 +81,6 @@ jobs:
echo "PyMechanical version is: $(python -c "from ansys.mechanical.core import __version__; print(__version__)")"
id: version

# - name: Cache Basic examples
# uses: actions/cache@v3
# with:
# path: doc/source/basic
# key: Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ env.PYMECHANICAL_VERSION }}-${{ github.sha }}
# restore-keys: |
# Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ env.PYMECHANICAL_VERSION }}

# - name: "Cache docs build directory"
# uses: actions/cache@v3
# with:
# path: doc/_build
# key: doc-build-v${{ env.RESET_DOC_BUILD_CACHE }}-${{ env.PYMECHANICAL_VERSION }}-${{ github.sha }}
# restore-keys: |
# doc-build-v${{ env.RESET_DOC_BUILD_CACHE }}-${{ env.PYMECHANICAL_VERSION }}

- name: Build docs
env:
SPHINXOPTS: '-j auto'
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/topology_optimization_cantilever_beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from matplotlib import pyplot as plt

# Embed Mechanical and set global variables
app = mech.App(version=232)
app = mech.App(version=241)
globals().update(mech.global_variables(app, True))
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/basic/valve.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from matplotlib.animation import FuncAnimation

# Embed Mechanical and set global variables
app = mech.App(version=232)
app = mech.App(version=241)
globals().update(mech.global_variables(app))
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/technology_showcase/Rotor_Blade_Inverse_solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
from matplotlib import image as mpimg
from matplotlib import pyplot as plt

app = mech.App(version=232)
app = mech.App(version=241)
globals().update(mech.global_variables(app, True))
print(app)

Expand Down
Loading