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: update to artifacts v2 #1206

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions .github/workflows/create_tests_package_lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run:
nox --non-interactive --session create_test_package_list-${{ matrix.python-version }} -- ./new_tests_packages
- name: Store reports as artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lists
name: lists-${{ matrix.os }}-${{ matrix.python-version }}
path: ./new_tests_packages
11 changes: 6 additions & 5 deletions .github/workflows/exhaustive_package_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
continue-on-error: true
run: nox --non-interactive --session test_all_packages-${{ matrix.python-version }}
- name: Store reports as artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: reports-raw
name: reports-raw-${{ matrix.os }}-${{ matrix.python-version }}
path: reports

report_all_packages:
Expand All @@ -39,9 +39,10 @@ jobs:

steps:
- name: Get report artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: reports-raw
pattern: reports-raw-*
merge-multiple: true
- name: Collate reports
run: |
ls # DEBUG
Expand All @@ -57,7 +58,7 @@ jobs:
cat all_packages_deps_errors_* > all_deps_errors_lf.txt
tr -d '\r' < all_deps_errors_lf.txt > reports/all_deps_errors.txt
- name: Store collated and raw reports as artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: reports-final
path: reports
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: nox --error-on-missing-interpreters --non-interactive --session zipapp
- name: Test zipapp by installing black
run: python ./pipx.pyz install black
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: pipx.pyz
path: pipx.pyz
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
needs: [tests, man, zipapp]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: pipx.pyz
- name: Upload to release
Expand Down