-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
18 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 |
---|---|---|
|
@@ -8,25 +8,25 @@ jobs: | |
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build sdist and wheel | ||
run: pipx run build | ||
- name: Build sdist and wheel | ||
run: pipx run build | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: dist | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: dist | ||
|
||
- name: Check products | ||
run: pipx run twine check dist/* | ||
- name: Check products | ||
run: pipx run twine check dist/* | ||
|
||
- uses: pypa/[email protected] | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
with: | ||
# Remember to generate this and set it in "GitHub Secrets" | ||
password: ${{ secrets.pypi_password }} | ||
# Remove this line | ||
repository_url: https://test.pypi.org/legacy/ | ||
- uses: pypa/[email protected] | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
with: | ||
# Remember to generate this and set it in "GitHub Secrets" | ||
password: ${{ secrets.pypi_password }} | ||
# Remove this line | ||
repository_url: https://test.pypi.org/legacy/ |