Skip to content

Commit 70871c2

Browse files
authored
Update pydpf-post.yml
1 parent d2aee42 commit 70871c2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/pydpf-post.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
ANSYS_VERSION:
1111
required: false
1212
type: string
13-
default: vars.ANSYS_VERSION_DEFAULT
1413
standalone_suffix:
1514
description: "Suffix of the branch on standalone"
1615
required: false
@@ -30,9 +29,8 @@ on:
3029
type: string
3130
ANSYS_VERSION:
3231
description: "ANSYS version"
33-
required: true
32+
required: false
3433
type: string
35-
default: vars.ANSYS_VERSION_DEFAULT
3634
standalone_suffix:
3735
description: "Suffix of the branch on standalone"
3836
required: false
@@ -62,7 +60,7 @@ jobs:
6260
- uses: actions/checkout@v4
6361

6462
- name: "Set licensing if necessary"
65-
if: inputs.ANSYS_VERSION > 231
63+
if: ${{ (github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT) > '231' }}
6664
shell: bash
6765
run: |
6866
echo "ANSYS_DPF_ACCEPT_LA=Y" >> $GITHUB_ENV
@@ -106,7 +104,7 @@ jobs:
106104
with:
107105
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
108106
standalone_suffix: ${{ inputs.standalone_suffix }}
109-
ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}
107+
ANSYS_VERSION : ${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
110108

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

0 commit comments

Comments
 (0)