|
13 | 13 | description: "ANSYS version" |
14 | 14 | required: false |
15 | 15 | type: string |
16 | | - default: vars.ANSYS_VERSION_DEFAULT |
17 | 16 | standalone_branch_suffix: |
18 | 17 | description: "Suffix of the branch on standalone" |
19 | 18 | required: false |
|
53 | 52 | - name: "Update ansys-grpc-dpf" |
54 | 53 | shell: bash |
55 | 54 | run: | |
56 | | - wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION }}/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) |
57 | 56 | echo $wheel_file |
58 | 57 | rm -r src/ansys/grpc |
59 | 58 | unzip -o $wheel_file "ansys/**/*" -d src/ |
|
63 | 62 | - name: "Update ansys-dpf-gate" |
64 | 63 | shell: bash |
65 | 64 | run: | |
66 | | - wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION }}/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) |
67 | 66 | echo $wheel_file |
68 | 67 | rm -r src/ansys/dpf/gate/generated |
69 | 68 | unzip -o $wheel_file "ansys/dpf/gate/generated/*" -d src/ |
|
74 | 73 | - name: "Update ansys-dpf-gatebin lin" |
75 | 74 | shell: bash |
76 | 75 | run: | |
77 | | - wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION }}/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) |
78 | 77 | echo $wheel_file |
79 | 78 | rm -r src/ansys/dpf/gatebin |
80 | 79 | unzip -o $wheel_file "ansys/**/*" -d src/ |
|
83 | 82 | - name: "Update ansys-dpf-gatebin win" |
84 | 83 | shell: bash |
85 | 84 | run: | |
86 | | - wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION }}/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) |
87 | 86 | echo $wheel_file |
88 | 87 | unzip -o $wheel_file "ansys/**/*" -d src/ |
89 | 88 | chmod -R 777 src/ansys/dpf/gatebin |
@@ -132,9 +131,9 @@ jobs: |
132 | 131 | src/ansys/dpf/core/operators/* |
133 | 132 | doc/source/_static/dpf_operators.html |
134 | 133 | commit-message: update generated code |
135 | | - 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 }} |
136 | 135 | body: An update of generated code has been triggered either manually or by an update in the dpf-standalone repository. |
137 | | - branch: maint/update_code_for_${{ github.event.inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}${{ github.event.inputs.standalone_branch_suffix || '' }}_on_${{ github.ref_name }} |
| 136 | + branch: maint/update_code_for_${{ github.event.inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}${{ github.event.inputs.standalone_branch_suffix || '' }}_on_${{ github.ref_name }} |
138 | 137 | labels: server-sync |
139 | 138 | token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} |
140 | 139 | reviewers: ${{ github.ref_name == 'master' && 'ansys/dpf_integration_proxies' || '' }} |
|
0 commit comments