Commit 62ad640b authored by Anas Nashif's avatar Anas Nashif
Browse files

ci: update upload-artifact & download-artifact action versions to v4

v2 & v3 are deprecated and not supported anymore.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
Co-authored-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 7c1f30dd
Loading
Loading
Loading
Loading
+2 −2
Changes for .github/workflows/bluetooth-tests.yaml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ jobs:

      - name: Upload Test Results
        if: always()
        uses: actions/upload-artifact@v3
        uses: actions/upload-artifact@v4
        with:
          name: bluetooth-test-results
          path: |
@@ -60,7 +60,7 @@ jobs:

      - name: Upload Event Details
        if: always()
        uses: actions/upload-artifact@v3
        uses: actions/upload-artifact@v4
        with:
          name: event
          path: |
+2 −2
Changes for .github/workflows/clang.yaml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ jobs:

      - name: Upload Unit Test Results
        if: always() && steps.twister.outputs.report_needed != 0
        uses: actions/upload-artifact@v3
        uses: actions/upload-artifact@v4
        with:
          name: Unit Test Results (Subset ${{ matrix.platform }})
          path: twister-out/twister.xml
@@ -123,7 +123,7 @@ jobs:
    if: (success() || failure() ) && needs.clang-build.outputs.report_needed != 0
    steps:
      - name: Download Artifacts
        uses: actions/download-artifact@v2
        uses: actions/download-artifact@v4
        with:
          path: artifacts

+2 −2
Changes for .github/workflows/codecov.yaml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ jobs:

      - name: Upload Coverage Results
        if: always()
        uses: actions/upload-artifact@v3
        uses: actions/upload-artifact@v4
        with:
          name: Coverage Data (Subset ${{ matrix.platform }})
          path: coverage/reports/${{ matrix.platform }}.info
@@ -113,7 +113,7 @@ jobs:
        with:
          fetch-depth: 0
      - name: Download Artifacts
        uses: actions/download-artifact@v2
        uses: actions/download-artifact@v4
        with:
          path: coverage/reports

+1 −1
Changes for .github/workflows/compliance.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ jobs:
        ./scripts/ci/check_compliance.py -m Codeowners -m Devicetree -m Gitlint -m Identity -m Nits -m pylint -m checkpatch -m Kconfig -c origin/${BASE_REF}..

    - name: upload-results
      uses: actions/upload-artifact@v3
      uses: actions/upload-artifact@v4
      continue-on-error: True
      with:
        name: compliance.xml
+3 −3
Changes for .github/workflows/doc-build.yml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ jobs:
        tar cfJ html-output.tar.xz --directory=doc/_build html

    - name: upload-build
      uses: actions/upload-artifact@v3
      uses: actions/upload-artifact@v4
      with:
        name: html-output
        path: html-output.tar.xz
@@ -103,7 +103,7 @@ jobs:
        echo "::notice:: Documentation will be available shortly at: ${DOC_URL}"

    - name: upload-pr-number
      uses: actions/upload-artifact@v3
      uses: actions/upload-artifact@v4
      if: github.event_name == 'pull_request'
      with:
        name: pr_num
@@ -161,7 +161,7 @@ jobs:
        DOC_TAG=${DOC_TAG} SPHINXOPTS="-q -j auto" LATEXMKOPTS="-quiet -halt-on-error" make -C doc pdf

    - name: upload-build
      uses: actions/upload-artifact@v3
      uses: actions/upload-artifact@v4
      with:
        name: pdf-output
        path: doc/_build/latex/zephyr.pdf
Loading