Skip to content

Commit 2c21fe4

Browse files
authored
Use dev wheels in update_operators.yml (#987)
* Use dev wheels in update_operators.yml The `update_operators.yml` workflow was not set to use dev wheels available in the `/dist` folder of the standalone. * Apply suggestions from code review * Update .github/workflows/update_operators.yml
1 parent fd05ea4 commit 2c21fe4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/update_operators.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ on:
1414
required: false
1515
type: string
1616
default: ''
17+
extra-pip-args:
18+
description: "Args given to pip install command"
19+
required: false
20+
type: string
21+
default: './dpf-standalone/v241/dist'
22+
custom-requirements:
23+
description: "Path to requirements.txt file to install"
24+
required: false
25+
type: string
26+
default: 'requirements/requirements_dev.txt'
1727

1828
env:
1929
PACKAGE_NAME: ansys-dpf-core
@@ -42,6 +52,13 @@ jobs:
4252
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
4353
ANSYS_VERSION : ${{ github.event.inputs.ANSYS_VERSION || '241' }}
4454

55+
- name: "Install custom requirements"
56+
uses: ansys/pydpf-actions/[email protected]
57+
if: inputs.custom-requirements != ''
58+
with:
59+
extra-pip-args: ${{ inputs.extra-pip-args && format('--find-links {0}', inputs.extra-pip-args) }}
60+
custom-requirements: ${{ inputs.custom-requirements }}
61+
4562
- name: "Install local package as editable"
4663
shell: bash
4764
run: |

0 commit comments

Comments
 (0)