Skip to content

Commit bcdf930

Browse files
authored
Fix PyPI wheel upload (no artifact download dirs) (#7)
1 parent 09109c2 commit bcdf930

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/build-and-prelease.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,11 @@ jobs:
8585
- name: Download all wheel artifacts
8686
uses: actions/download-artifact@v3
8787
with:
88-
path: dist
88+
path: downloaded
8989
- name: Move wheel artifacts
9090
run: |
91-
cd dist && mv */*.whl ./
91+
mkdir dist
92+
mv downloaded/*/*.whl dist/
9293
- name: Publish as GitHub pre-release
9394
uses: "marvinpinto/action-automatic-releases@latest"
9495
with:

.github/workflows/build-and-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,11 @@ jobs:
8888
- name: Download all wheel artifacts
8989
uses: actions/download-artifact@v3
9090
with:
91-
path: dist
91+
path: downloaded
9292
- name: Move wheel artifacts
9393
run: |
94-
cd dist && mv */*.whl ./
94+
mkdir dist
95+
mv downloaded/*/*.whl dist/
9596
- name: Publish as GitHub release
9697
uses: "marvinpinto/action-automatic-releases@latest"
9798
with:

0 commit comments

Comments
 (0)