diff --git a/.github/workflows/update_operators.yml b/.github/workflows/update_operators.yml index 63077c94904..ef826b396e8 100644 --- a/.github/workflows/update_operators.yml +++ b/.github/workflows/update_operators.yml @@ -14,6 +14,16 @@ on: required: false type: string default: '' + extra-pip-args: + description: "Args given to pip install command" + required: false + type: string + default: './dpf-standalone/v241/dist' + custom-requirements: + description: "Path to requirements.txt file to install" + required: false + type: string + default: 'requirements/requirements_dev.txt' env: PACKAGE_NAME: ansys-dpf-core @@ -42,6 +52,13 @@ jobs: standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }} ANSYS_VERSION : ${{ github.event.inputs.ANSYS_VERSION || '241' }} + - name: "Install custom requirements" + uses: ansys/pydpf-actions/install-custom-requirements@v2.3 + if: inputs.custom-requirements != '' + with: + extra-pip-args: ${{ inputs.extra-pip-args && format('--find-links {0}', inputs.extra-pip-args) }} + custom-requirements: ${{ inputs.custom-requirements }} + - name: "Install local package as editable" shell: bash run: |