Skip to content

Commit

Permalink
Fix concurrent artifact-upload error (#678)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
PProfizi authored Aug 6, 2024
1 parent 2aa5b2f commit c74810e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 || ''}}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}

Expand Down

0 comments on commit c74810e

Please sign in to comment.