From bcdf930fe621cc95f13948c77e4345da92bdd6a9 Mon Sep 17 00:00:00 2001 From: Shahriar Heidrich Date: Thu, 22 Sep 2022 01:18:34 +0200 Subject: [PATCH] Fix PyPI wheel upload (no artifact download dirs) (#7) --- .github/workflows/build-and-prelease.yml | 5 +++-- .github/workflows/build-and-release.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-prelease.yml b/.github/workflows/build-and-prelease.yml index 53191c5..3386138 100644 --- a/.github/workflows/build-and-prelease.yml +++ b/.github/workflows/build-and-prelease.yml @@ -85,10 +85,11 @@ jobs: - name: Download all wheel artifacts uses: actions/download-artifact@v3 with: - path: dist + path: downloaded - name: Move wheel artifacts run: | - cd dist && mv */*.whl ./ + mkdir dist + mv downloaded/*/*.whl dist/ - name: Publish as GitHub pre-release uses: "marvinpinto/action-automatic-releases@latest" with: diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index e97ba05..39c28b7 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -88,10 +88,11 @@ jobs: - name: Download all wheel artifacts uses: actions/download-artifact@v3 with: - path: dist + path: downloaded - name: Move wheel artifacts run: | - cd dist && mv */*.whl ./ + mkdir dist + mv downloaded/*/*.whl dist/ - name: Publish as GitHub release uses: "marvinpinto/action-automatic-releases@latest" with: