-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that make package works on Python 3.10
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 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 |
---|---|---|
|
@@ -11,9 +11,9 @@ on: | |
types: | ||
- published | ||
# Runs for pull requests should be disabled other than for testing purposes | ||
#pull_request: | ||
# branches: | ||
# - main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
publish-pypi: | ||
|
@@ -52,11 +52,11 @@ jobs: | |
echo "Generated files:" | ||
ls -lh dist/ | ||
- name: Publish to Test PyPI | ||
uses: pypa/[email protected] | ||
with: | ||
password: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
# - name: Publish to Test PyPI | ||
# uses: pypa/[email protected] | ||
# with: | ||
# password: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
# repository_url: https://test.pypi.org/legacy/ | ||
|
||
- name: Publish to PyPI | ||
if: startsWith(github.ref, 'refs/tags') | ||
|