Skip to content

Commit

Permalink
Fix/workflow 2023 (#89)
Browse files Browse the repository at this point in the history
* fix artifact name related to update of actions/upload-artifact@v4

* split download in three options

* update download of wheels
  • Loading branch information
cqc-melf authored Dec 21, 2023
1 parent cdc1c71 commit fc4ba91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: github.event_name == 'release' || contains(github.ref, 'refs/heads/wheel')
with:
name: artefacts
name: artefact-${{ matrix.os }}
path: wheelhouse/
- name: Install docs dependencies
if: (matrix.os == 'ubuntu-22.04') && (github.event_name == 'pull_request' || github.event_name == 'schedule' )
Expand All @@ -95,9 +95,13 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Download all wheels
# downloading all three files into the wheelhouse
# all files are identical, so there will only be one file
uses: actions/download-artifact@v4
with:
path: wheelhouse
pattern: artefact-*
merge-multiple: true
- name: Put them all in the dist folder
run: |
mkdir dist
Expand Down

0 comments on commit fc4ba91

Please sign in to comment.