From 002848b9e676c31e5fca393e60a9d613b2b3a3a2 Mon Sep 17 00:00:00 2001 From: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com> Date: Tue, 5 Mar 2024 09:30:02 -0300 Subject: [PATCH 1/4] Update to node 20 --- .github/workflows/hil.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hil.yml b/.github/workflows/hil.yml index 0b29d4aafb9..c9b89f965e6 100644 --- a/.github/workflows/hil.yml +++ b/.github/workflows/hil.yml @@ -56,7 +56,7 @@ jobs: run: | bash .github/scripts/tests_build.sh -c -t ${{matrix.chip}} -i ${{matrix.chunks}} -m ${{env.MAX_CHUNKS}} - name: Upload ${{matrix.chip}}-${{matrix.chunks}} artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{matrix.chip}}-${{matrix.chunks}}.artifacts path: | @@ -97,7 +97,7 @@ jobs: bash .github/scripts/tests_run.sh -c -t ${{matrix.chip}} -i ${{matrix.chunks}} -m ${{env.MAX_CHUNKS}} -e - name: Upload test result artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test_results-${{matrix.chip}}-${{matrix.chunks}} @@ -112,7 +112,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Event File path: ${{github.event_path}} From d422e3e12ff4e137002c6bc69536fd2c5db534c1 Mon Sep 17 00:00:00 2001 From: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com> Date: Tue, 5 Mar 2024 09:33:49 -0300 Subject: [PATCH 2/4] lib and docs --- .github/workflows/docs_build.yml | 2 +- .github/workflows/lib.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs_build.yml b/.github/workflows/docs_build.yml index d5cd652f3df..d38cfaffe4d 100644 --- a/.github/workflows/docs_build.yml +++ b/.github/workflows/docs_build.yml @@ -38,7 +38,7 @@ jobs: PATH=/home/runner/.local/bin:$PATH pip3 install -r requirements.txt --prefer-binary PATH=/home/runner/.local/bin:$PATH SPHINXOPTS="-W" build-docs -l en - name: Archive Docs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: docs path: docs diff --git a/.github/workflows/lib.yml b/.github/workflows/lib.yml index 3995aaad4fd..647b62b2efb 100644 --- a/.github/workflows/lib.yml +++ b/.github/workflows/lib.yml @@ -75,7 +75,7 @@ jobs: - --warnings="all" - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }} path: ${{ env.SKETCHES_REPORTS_PATH }} @@ -129,7 +129,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Event File - path: ${{github.event_path}} \ No newline at end of file + path: ${{github.event_path}} From 2e7a392e70e0a53e1c74abfd512e04f789999950 Mon Sep 17 00:00:00 2001 From: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com> Date: Tue, 5 Mar 2024 09:45:50 -0300 Subject: [PATCH 3/4] Test --- .github/workflows/hil.yml | 2 +- .github/workflows/lib.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hil.yml b/.github/workflows/hil.yml index c9b89f965e6..bc3afe4193a 100644 --- a/.github/workflows/hil.yml +++ b/.github/workflows/hil.yml @@ -81,7 +81,7 @@ jobs: uses: actions/checkout@v4 - name: Download ${{matrix.chip}}-${{matrix.chunks}} artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{matrix.chip}}-${{matrix.chunks}}.artifacts path: ~/.arduino/tests/ diff --git a/.github/workflows/lib.yml b/.github/workflows/lib.yml index 647b62b2efb..2851accb46c 100644 --- a/.github/workflows/lib.yml +++ b/.github/workflows/lib.yml @@ -98,7 +98,7 @@ jobs: # This step is needed to get the size data produced by the compile jobs - name: Download sketches reports artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }} path: ${{ env.SKETCHES_REPORTS_PATH }} From 852c3b84489eae35e3cd724e2d5d573a42ba69f0 Mon Sep 17 00:00:00 2001 From: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com> Date: Tue, 5 Mar 2024 11:12:26 -0300 Subject: [PATCH 4/4] Fix --- .github/workflows/lib.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lib.yml b/.github/workflows/lib.yml index 2851accb46c..da2e5ed6a04 100644 --- a/.github/workflows/lib.yml +++ b/.github/workflows/lib.yml @@ -77,7 +77,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }} + name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}-${{ matrix.target }} path: ${{ env.SKETCHES_REPORTS_PATH }} report-to-file: @@ -100,7 +100,8 @@ jobs: - name: Download sketches reports artifact uses: actions/download-artifact@v4 with: - name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }} + pattern: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}-* + merge-multiple: true path: ${{ env.SKETCHES_REPORTS_PATH }} - name: Report results