-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pre-release] Update changelogs, version [0.16b0] #204
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Contrib Publish Packages | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.7' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm okay with Python 3.7, but just wondering if there's a reason why it can't be 3.8 or 3.9? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No particular reason. This is a straight copy of the publish action in the core repo |
||
- name: Build wheels | ||
run: ./scripts/build.sh | ||
- name: Install twine | ||
run: | | ||
pip install twine | ||
# The step below publishes to testpypi in order to catch any issues | ||
# with the package configuration that would cause a failure to upload | ||
# to pypi. One example of such a failure is if a classifier is | ||
# rejected by pypi (e.g "3 - Beta"). This would cause a failure during the | ||
# middle of the package upload causing the action to fail, and certain packages | ||
# might have already been updated, this would be bad. | ||
- name: Publish to TestPyPI | ||
env: | ||
TWINE_USERNAME: '__token__' | ||
TWINE_PASSWORD: ${{ secrets.test_pypi_token }} | ||
run: | | ||
twine upload --repository testpypi --skip-existing --verbose dist/* | ||
- name: Publish to PyPI | ||
env: | ||
TWINE_USERNAME: '__token__' | ||
TWINE_PASSWORD: ${{ secrets.pypi_password }} | ||
run: | | ||
twine upload --skip-existing --verbose dist/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't used
v1
yet, every time I've used this it'suses: actions/checkout@v2
as intest.yml
! Might as well use a newer version? (if that's what this means).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be updated, but i just used what was already there in the core repo.