Skip to content

Commit 8d4c66a

Browse files
authored
Update examples.yml
1 parent e4d34bd commit 8d4c66a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/examples.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
ANSYS_VERSION:
1212
required: false
1313
type: string
14-
default: vars.ANSYS_VERSION_DEFAULT
1514
standalone_suffix:
1615
description: "Suffix of the branch on standalone"
1716
required: false
@@ -27,9 +26,8 @@ on:
2726
default: '["3.10"]'
2827
ANSYS_VERSION:
2928
description: "ANSYS version to run."
30-
required: true
29+
required: false
3130
type: string
32-
default: vars.ANSYS_VERSION_DEFAULT
3331
standalone_suffix:
3432
description: "Suffix of the branch on standalone"
3533
required: false
@@ -65,7 +63,7 @@ jobs:
6563
- uses: actions/checkout@v4
6664

6765
- name: "Set licensing if necessary"
68-
if: inputs.ANSYS_VERSION > 231
66+
if: ${{ (github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT) > '231' }}
6967
shell: bash
7068
run: |
7169
echo "ANSYS_DPF_ACCEPT_LA=Y" >> $GITHUB_ENV
@@ -109,7 +107,7 @@ jobs:
109107
with:
110108
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
111109
standalone_suffix: ${{ inputs.standalone_suffix }}
112-
ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}
110+
ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
113111

114112
- name: "Check licences of packages"
115113
uses: ansys/pydpf-actions/[email protected]

0 commit comments

Comments
 (0)