diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acc5b598d..3b0cb630d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,8 @@ jobs: MODULE: ${{env.MODULE}} dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}} install_extras: plotting - wheel: true + # Upload the wheel artifact for only one of the OS as it is OS-agnostic + wheel: ${{ (matrix.python-version == env.MAIN_PYTHON_VERSION) && (matrix.os == 'windows-latest') }} wheelhouse: true standalone_suffix: ${{ inputs.standalone_suffix || ''}} diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index ad27ee6fc..2960228c6 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -85,7 +85,8 @@ jobs: MODULE: ${{env.MODULE}} dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}} install_extras: plotting - wheel: true + # Upload the wheel artifact for only one of the OS as it is OS-agnostic + wheel: ${{ (matrix.python-version == env.MAIN_PYTHON_VERSION) && (matrix.os == 'windows-latest') }} wheelhouse: true standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}