-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
path fixes for publishing [ci publish]
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,10 @@ jobs: | |
uses: pypa/[email protected] | ||
with: | ||
config-file: ".github/workflows/cibuildwheel_config.toml" | ||
|
||
- name: Copy source distribution into wheelhouse | ||
if: runner.os == 'Linux' | ||
run: mv dist/*.tar.gz wheelhouse/ | ||
|
||
# Upload binaries to the github artifact store | ||
- name: Upload wheels | ||
|
@@ -71,9 +75,11 @@ jobs: | |
|
||
- name: List downloaded files from artifact | ||
run: ls dist | cat # piping through cat prints one per line | ||
|
||
- name: Flatten directory | ||
run: mv dist/* dist/ && find . -empty -type d -delete | ||
|
||
# dist directory has subdirs from the different jobs, merge them into one directory and delete | ||
# the empty leftover dirs | ||
- name: Flatten directory | ||
run: find dist -mindepth 2 -type f -exec mv -t dist {} + && find dist -type d -empty -delete | ||
|
||
- name: List downloaded files from artifact after flatten | ||
run: ls dist | cat # piping through cat prints one per line | ||
|