Skip to content

Commit

Permalink
Merge pull request #1589 from rmartin16/ci
Browse files Browse the repository at this point in the history
Upgrade `upload-artifact` and `download-artifact` actions to v4
  • Loading branch information
freakboy3742 authored Jan 5, 2024
2 parents 76eff77 + 3a3b9b1 commit aeb3b3b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Get Packages
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.0
with:
name: ${{ needs.package.outputs.artifact-name }}
path: dist
Expand All @@ -84,9 +84,9 @@ jobs:

- name: Store Coverage Data
if: always() && contains('success,failure', steps.test.outcome)
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.0.0
with:
name: coverage-data
name: coverage-data-${{ matrix.platform }}-${{ matrix.python-version }}
path: ".coverage.*"
if-no-files-found: ignore

Expand Down Expand Up @@ -122,9 +122,10 @@ jobs:
python -m install_requirement tox --extra dev
- name: Retrieve Coverage Data
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.0
with:
name: coverage-data
pattern: coverage-data-*
merge-multiple: true

- name: Platform Coverage Reports
id: platform-coverage
Expand All @@ -139,7 +140,7 @@ jobs:

- name: Upload Project Coverage HTML Report
if: always() && steps.project-coverage.outcome == 'failure'
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.0.0
with:
name: html-coverage-report-project
path: htmlcov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
python-version: "3.x"

- name: Get packages
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.0
with:
name: ${{ needs.ci.outputs.artifact-name }}
path: dist
Expand Down
1 change: 1 addition & 0 deletions changes/1589.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The ``upload-artifact`` and ``download-artifact`` CI actions were upgraded to v4.

0 comments on commit aeb3b3b

Please sign in to comment.