Skip to content

Commit

Permalink
Debug Publishing (#7)
Browse files Browse the repository at this point in the history
Publishing:
* Update publish.yml - add step to clean up the dist directory before upload
  • Loading branch information
DK96-OS authored Apr 19, 2024
1 parent 3876a16 commit 5eca544
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ jobs:
./dist/*.tar.gz
./dist/*.whl
- name: Cleanup Dist Directory after signing
run: |
cd dist
echo "Removing files that do not match '*.tar.gz' or '*.whl'"
for file in *; do
if [[ ! "$file" == *".tar.gz" ]] && [[ ! "$file" == *".whl" ]]; then
echo "Removing: $file"
rm "$file"
fi
done
cd ../
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit 5eca544

Please # to comment.