Skip to content

Commit

Permalink
publish: Only copy whl and source to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Mar 9, 2022
1 parent bffb3d5 commit 4b81ddb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,19 @@ jobs:
- build_sdist
- build_wheels
runs-on: ubuntu-latest
# if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
# if: ${{ github.event_name == 'release' && github.event.action == 'created' }}
steps:
- name: download
uses: actions/download-artifact@v2
with:
path: dist/
# Only copy the wheels and source dist files. Additional lingering
# files will cause issues
- name: Copy Files to dist
shell: bash
run: cp dist/*/* dist/
run: |
cp dist/*/*.whl dist/
cp dist/*/*.tar.gz dist/
- uses: pypa/[email protected]
with:
user: __token__
Expand Down

0 comments on commit 4b81ddb

Please sign in to comment.