Skip to content

Commit

Permalink
Fix/workflow 2023 (#71)
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 d423140 commit e17574a
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 @@ -67,7 +67,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 @@ -87,9 +87,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 e17574a

Please sign in to comment.