Skip to content

Commit

Permalink
flatten directory for publish action [ci publish]
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Nov 20, 2024
1 parent 795670c commit 481aef8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ 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

- name: List downloaded files from artifact after flatten
run: ls dist | cat # piping through cat prints one per line

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 481aef8

Please sign in to comment.