Skip to content

Commit c74810e

Browse files
authored
Fix concurrent artifact-upload error (#678)
* Fix concurrent artifact-upload error by requiring wheel upload for only one configuration (since os-agnostic) * Fix concurrent artifact-upload error by requiring wheel upload for only one configuration (since os-agnostic) * Fix concurrent artifact-upload error by requiring wheel upload for only one configuration (since os-agnostic) * Explain in CI
1 parent 2aa5b2f commit c74810e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ jobs:
8181
MODULE: ${{env.MODULE}}
8282
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
8383
install_extras: plotting
84-
wheel: true
84+
# Upload the wheel artifact for only one of the OS as it is OS-agnostic
85+
wheel: ${{ (matrix.python-version == env.MAIN_PYTHON_VERSION) && (matrix.os == 'windows-latest') }}
8586
wheelhouse: true
8687
standalone_suffix: ${{ inputs.standalone_suffix || ''}}
8788

.github/workflows/ci_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ jobs:
8585
MODULE: ${{env.MODULE}}
8686
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
8787
install_extras: plotting
88-
wheel: true
88+
# Upload the wheel artifact for only one of the OS as it is OS-agnostic
89+
wheel: ${{ (matrix.python-version == env.MAIN_PYTHON_VERSION) && (matrix.os == 'windows-latest') }}
8990
wheelhouse: true
9091
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
9192

0 commit comments

Comments
 (0)