From fa7bf4480ea41da8d3f9bbb477257614eac002ef Mon Sep 17 00:00:00 2001 From: cqc-melf <70640934+cqc-melf@users.noreply.github.com> Date: Tue, 9 Jan 2024 11:01:09 +0000 Subject: [PATCH] Fix/workflow 2023 (#64) * fix artifact name related to update of actions/upload-artifact@v4 * split download in three options * update download of wheels --------- Co-authored-by: PabloAndresCQ --- .github/workflows/build_and_test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index f103e89d..c00131f7 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -54,7 +54,7 @@ jobs: - uses: actions/upload-artifact@v4 if: github.event_name == 'release' || contains(github.ref, 'refs/heads/wheel') with: - name: artefacts-${{ matrix.os }} + 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' ) @@ -74,9 +74,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 @@ -137,4 +141,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4