diff --git a/build-wheelhouse/action.yml b/build-wheelhouse/action.yml index e1c827923..a4fa5e6ab 100644 --- a/build-wheelhouse/action.yml +++ b/build-wheelhouse/action.yml @@ -85,11 +85,21 @@ inputs: default: true type: boolean + checkout: + description: > + Whether to do a checkout step or not. If ``true``, the checkout step is performed. + If ``false``, the checkout is skipped allowing the workspace from a prior step to + be used unaltered. By default it is set to ``true``. + required: false + default: true + type: boolean + runs: using: "composite" steps: - name: "Install Git and clone project" + if: ${{ inputs.checkout == 'true' }} uses: actions/checkout@v4 - name: "Set up Python ${{ inputs.python-version }}"