99 workflow_dispatch :
1010 inputs :
1111 ansys_version :
12- description : " Ansys version of the standalone. "
12+ description : " ANSYS version"
1313 required : false
14- default : ' 252 '
14+ type : string
1515 standalone_branch_suffix :
1616 description : ' Suffix of the branch on standalone'
1717 required : false
@@ -100,7 +100,7 @@ jobs:
100100 DOCSTRING : false
101101 test_any : true
102102 with :
103- ANSYS_VERSION : ${{ inputs.ansys_version || '252' }}
103+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_LAST_RELEASED }}
104104 python_versions : ${{ matrix.python_versions }}
105105 wheel : ${{ matrix.wheel }}
106106 wheelhouse : ${{ matrix.wheelhouse }}
@@ -112,15 +112,15 @@ jobs:
112112 docs :
113113 uses : ./.github/workflows/docs.yml
114114 with :
115- ANSYS_VERSION : ${{ inputs.ansys_version || '252' }}
115+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_LAST_RELEASED }}
116116 standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
117117 event_name : ${{ github.event_name }}
118118 secrets : inherit
119119
120120 examples :
121121 uses : ./.github/workflows/examples.yml
122122 with :
123- ANSYS_VERSION : ${{ inputs.ansys_version || '252' }}
123+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_LAST_RELEASED }}
124124 python_versions : ' ["3.10", "3.11", "3.12", "3.13"]'
125125 standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
126126 secrets : inherit
@@ -169,15 +169,15 @@ jobs:
169169 name : " Build and Test on Docker"
170170 uses : ./.github/workflows/test_docker.yml
171171 with :
172- ANSYS_VERSION : ${{ inputs.ansys_version || '252' }}
172+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_LAST_RELEASED }}
173173 standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
174174 secrets : inherit
175175
176176 docker_examples :
177177 name : " Run examples on Docker"
178178 uses : ./.github/workflows/examples_docker.yml
179179 with :
180- ANSYS_VERSION : ${{ inputs.ansys_version || '252' }}
180+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_LAST_RELEASED }}
181181 python_versions : ' ["3.10", "3.11", "3.12", "3.13"]'
182182 standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
183183 secrets : inherit
0 commit comments