-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
publish: Only copy whl and source to dist
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 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 |
---|---|---|
|
@@ -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__ | ||
|