-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add a twine check * let's actually try to do a release * wheelhouse not dist
- Loading branch information
Showing
2 changed files
with
5 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 |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
|
||
- name: Install Deps | ||
# only need scikit-build for the linux sdist step | ||
run: pip install --upgrade cibuildwheel scikit-build | ||
run: pip install --upgrade cibuildwheel scikit-build twine | ||
|
||
- uses: ilammy/[email protected] | ||
if: startsWith(matrix.os, 'windows') | ||
|
@@ -65,6 +65,9 @@ jobs: | |
## Upload | ||
|
||
- name: Check with Twine | ||
run: twine check wheelhouse/* | ||
|
||
- name: Upload artifacts to GitHub | ||
if: github.event_name == 'release' | ||
uses: actions/upload-artifact@v2 | ||
|
@@ -78,5 +81,4 @@ jobs: | |
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.pypi_password }} | ||
run: | | ||
python -m pip install --upgrade twine | ||
twine upload wheelhouse/* |
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