Skip to content
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

ci: upload,download-artifact v2->v4 #232

Merged
merged 6 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
pip install wheel
pip wheel --no-deps -w dist .

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
erikayasuda marked this conversation as resolved.
Show resolved Hide resolved
with:
name: artifact-wheel
path: dist/*.whl

build_sdist:
Expand All @@ -49,18 +50,19 @@ jobs:
run: |
python setup.py sdist

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
erikayasuda marked this conversation as resolved.
Show resolved Hide resolved
with:
name: artifact-sdist
path: dist/*.tar.gz

upload_pypi:
needs: [build_wheel, build_sdist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
erikayasuda marked this conversation as resolved.
Show resolved Hide resolved
with:
name: artifact
name: artifact-*
path: dist

- uses: pypa/gh-action-pypi-publish@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
rst2html.py CHANGELOG.rst CHANGELOG.html

- name: Upload CHANGELOG.rst
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
erikayasuda marked this conversation as resolved.
Show resolved Hide resolved
with:
name: changelog
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install Riot
run: pip install .
- run: riot -v run docs
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
erikayasuda marked this conversation as resolved.
Show resolved Hide resolved
with:
name: docs
path: docs/_build
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Pin ``virtualenv`` to the version that has support for Python 3.7

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
install_requires=[
"dataclasses; python_version<'3.7'",
"click>=7",
"virtualenv",
"virtualenv<=20.26.6",
"rich",
"pexpect",
"packaging",
Expand Down
Loading