Skip to content

Commit 42201e7

Browse files
authored
ansys_version -> ANSYS_VERSION input name
1 parent bb179ed commit 42201e7

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- uses: actions/checkout@v4
6060

6161
- name: "Set licensing if necessary"
62-
if: ${{ (github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT) > '231' }}
62+
if: ${{ (github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT) > '231' }}
6363
shell: bash
6464
run: |
6565
echo "ANSYS_DPF_ACCEPT_LA=Y" >> $GITHUB_ENV

.github/workflows/examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- uses: actions/checkout@v4
6464

6565
- name: "Set licensing if necessary"
66-
if: ${{ (github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT) > '231' }}
66+
if: ${{ (github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT) > '231' }}
6767
shell: bash
6868
run: |
6969
echo "ANSYS_DPF_ACCEPT_LA=Y" >> $GITHUB_ENV
@@ -107,7 +107,7 @@ jobs:
107107
with:
108108
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
109109
standalone_suffix: ${{ inputs.standalone_suffix }}
110-
ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
110+
ANSYS_VERSION : ${{ inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}
111111

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

.github/workflows/examples_docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
with:
104104
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
105105
standalone_suffix: ${{ inputs.standalone_suffix }}
106-
ANSYS_VERSION : ${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
106+
ANSYS_VERSION : ${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}
107107

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

.github/workflows/pydpf-post.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- uses: actions/checkout@v4
6161

6262
- name: "Set licensing if necessary"
63-
if: ${{ (github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT) > '231' }}
63+
if: ${{ (github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT) > '231' }}
6464
shell: bash
6565
run: |
6666
echo "ANSYS_DPF_ACCEPT_LA=Y" >> $GITHUB_ENV
@@ -104,7 +104,7 @@ jobs:
104104
with:
105105
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
106106
standalone_suffix: ${{ inputs.standalone_suffix }}
107-
ANSYS_VERSION : ${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
107+
ANSYS_VERSION : ${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}
108108

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

.github/workflows/test_docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
with:
8686
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
8787
standalone_suffix: ${{ inputs.standalone_suffix }}
88-
ANSYS_VERSION : ${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
88+
ANSYS_VERSION : ${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}
8989

9090
- name: "Check licences of packages"
9191
uses: ansys/pydpf-actions/[email protected]
@@ -217,21 +217,21 @@ jobs:
217217
- name: "Upload Test Results"
218218
uses: actions/upload-artifact@v4
219219
with:
220-
name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}_docker
220+
name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}_docker
221221
path: tests/junit/test-results.xml
222222
timeout-minutes: 5
223223

224224
- name: "Upload coverage to Codecov"
225225
uses: codecov/codecov-action@v4
226226
with:
227227
token: ${{ secrets.CODECOV_TOKEN }} # required
228-
name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}_docker.xml
229-
flags: docker,${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }},${{ matrix.os }},${{ matrix.python-version }}
228+
name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}_docker.xml
229+
flags: docker,${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }},${{ matrix.os }},${{ matrix.python-version }}
230230

231231
- name: "Upload test analytics results to Codecov"
232232
if: ${{ !cancelled() }}
233233
uses: codecov/test-results-action@v1
234234
with:
235235
token: ${{ secrets.CODECOV_TOKEN }}
236-
name: test_results_${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}${{ inputs.test_any == 'true' && '_any' || '' }}
237-
flags: ${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }},${{ matrix.os }},${{ matrix.python-version }}${{ inputs.test_any == 'true' && ',any' || '' }}
236+
name: test_results_${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}${{ inputs.test_any == 'true' && '_any' || '' }}
237+
flags: ${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }},${{ matrix.os }},${{ matrix.python-version }}${{ inputs.test_any == 'true' && ',any' || '' }}

.github/workflows/update_operators.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: "Update ansys-grpc-dpf"
5353
shell: bash
5454
run: |
55-
wheel_file=$(find ./dpf-standalone/${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}/dist -name "ansys_grpc_dpf-*" -type f)
55+
wheel_file=$(find ./dpf-standalone/${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}/dist -name "ansys_grpc_dpf-*" -type f)
5656
echo $wheel_file
5757
rm -r src/ansys/grpc
5858
unzip -o $wheel_file "ansys/**/*" -d src/
@@ -62,7 +62,7 @@ jobs:
6262
- name: "Update ansys-dpf-gate"
6363
shell: bash
6464
run: |
65-
wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}/dist -name "ansys_dpf_gate-*" -type f)
65+
wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}/dist -name "ansys_dpf_gate-*" -type f)
6666
echo $wheel_file
6767
rm -r src/ansys/dpf/gate/generated
6868
unzip -o $wheel_file "ansys/dpf/gate/generated/*" -d src/
@@ -73,7 +73,7 @@ jobs:
7373
- name: "Update ansys-dpf-gatebin lin"
7474
shell: bash
7575
run: |
76-
wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}/dist -name "ansys_dpf_gatebin-*linux1*" -type f)
76+
wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}/dist -name "ansys_dpf_gatebin-*linux1*" -type f)
7777
echo $wheel_file
7878
rm -r src/ansys/dpf/gatebin
7979
unzip -o $wheel_file "ansys/**/*" -d src/
@@ -82,7 +82,7 @@ jobs:
8282
- name: "Update ansys-dpf-gatebin win"
8383
shell: bash
8484
run: |
85-
wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}/dist -name "ansys_dpf_gatebin-*win*" -type f)
85+
wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}/dist -name "ansys_dpf_gatebin-*win*" -type f)
8686
echo $wheel_file
8787
unzip -o $wheel_file "ansys/**/*" -d src/
8888
chmod -R 777 src/ansys/dpf/gatebin
@@ -131,7 +131,7 @@ jobs:
131131
src/ansys/dpf/core/operators/*
132132
doc/source/_static/dpf_operators.html
133133
commit-message: update generated code
134-
title: Update generated code for DPF ${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}${{ github.event.inputs.standalone_branch_suffix || '' }} on ${{ github.ref_name }}
134+
title: Update generated code for DPF ${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}${{ github.event.inputs.standalone_branch_suffix || '' }} on ${{ github.ref_name }}
135135
body: An update of generated code has been triggered either manually or by an update in the dpf-standalone repository.
136136
branch: maint/update_code_for_${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}${{ github.event.inputs.standalone_branch_suffix || '' }}_on_${{ github.ref_name }}
137137
labels: server-sync

0 commit comments

Comments
 (0)