Skip to content

Commit

Permalink
Updated github workflows with new versions of download-artifact and u…
Browse files Browse the repository at this point in the history
…pload-artifact

Updated github workflows with new versions of download-artifact and upload-artifact
  • Loading branch information
itisallgood authored Sep 25, 2024
1 parent fd9fce2 commit acea651
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
- name: Install wheel
run: python -m pip install "${{ steps.dist.outputs.wheel }}"
- name: Upload wheels as artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-packages-${{ runner.os }}
path: |
Expand All @@ -117,7 +117,7 @@ jobs:
- name: Build docs
run: nox -s docs
- name: Upload doc builds as artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: doc-builds-${{ runner.os }}
path: docs/_build/
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
# `coverage run` cmd adds the working dir to python path, so no need to install pkg here
run: pipx run nox -s "tests-${{ matrix.python-version }}(${{ matrix.sphinx-version }})"
- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-data-${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.sphinx-version }}
path: .coverage*
Expand All @@ -187,7 +187,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ci-artifacts
- run: mv ci-artifacts/**/.coverage* ./
Expand All @@ -198,7 +198,7 @@ jobs:
- name: Create coverage report
run: pipx run nox -s coverage
- name: Upload comprehensive coverage HTML report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: htmlcov/
Expand All @@ -210,17 +210,17 @@ jobs:
needs: [build]
steps:
- name: Download Linux package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-packages-Linux
path: dist-Linux
- name: Download macOS package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-packages-macOS
path: dist-macOS
- name: Download Windows package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-packages-Windows
path: dist-Windows
Expand All @@ -240,7 +240,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build, test]
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: python-packages-Linux
path: dist
Expand Down

0 comments on commit acea651

Please # to comment.