mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 09:56:05 -05:00
Include more files in distributions (#4964)
* Include LICENSE files in distributions * Use pep517 isolated builds * Update the GH Actions workflow
This commit is contained in:
4
.github/workflows/publish_release.yml
vendored
4
.github/workflows/publish_release.yml
vendored
@@ -19,13 +19,13 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install setuptools wheel twine
|
||||
pip install build twine
|
||||
- name: Build and publish
|
||||
env:
|
||||
TWINE_USERNAME: __token__
|
||||
TWINE_PASSWORD: ${{ secrets.pypi_token }}
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
python -m build
|
||||
twine upload dist/*
|
||||
|
||||
pr_dev_bump:
|
||||
|
||||
Reference in New Issue
Block a user