From ba78ce5c3102d81bf6ab2d04421cd29a9d73fe4e Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Wed, 4 Oct 2023 14:26:44 +0200 Subject: [PATCH] fix(ci): finally fixed kernel-testing related workflows. Signed-off-by: Federico Di Pierro --- .github/workflows/pages.yml | 7 +++---- .github/workflows/release-body-driver.yml | 6 ++---- .github/workflows/reusable_kernel_tests.yaml | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 657c09556d..03c5ad200e 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -29,17 +29,16 @@ jobs: - name: Download matrix X64 uses: actions/download-artifact@v3 with: - name: matrix_master_X64.md + name: matrix_master_X64 - name: Download matrix ARM64 uses: actions/download-artifact@v3 with: - name: matrix_master_ARM64.md + name: matrix_master_ARM64 - name: Disable Table Of Content for matrixes pages run: | - mv matrix_master_X64.md docs/matrix_X64.md - mv matrix_master_ARM64.md docs/matrix_ARM64.md + mv matrix_*.md docs/ sed -i '1s/^/---\nhide:\n- toc\n---\n\n/' docs/matrix_X64.md sed -i '1s/^/---\nhide:\n- toc\n---\n\n/' docs/matrix_ARM64.md diff --git a/.github/workflows/release-body-driver.yml b/.github/workflows/release-body-driver.yml index 4051b4556e..2435e6b9fe 100644 --- a/.github/workflows/release-body-driver.yml +++ b/.github/workflows/release-body-driver.yml @@ -80,12 +80,12 @@ jobs: - name: Download matrix X64 uses: actions/download-artifact@v3 with: - name: matrix_${{ github.event.release.tag_name }}_X64.md + name: matrix_${{ github.event.release.tag_name }}_X64 - name: Download matrix ARM64 uses: actions/download-artifact@v3 with: - name: matrix_${{ github.event.release.tag_name }}_ARM64.md + name: matrix_${{ github.event.release.tag_name }}_ARM64 # Steps: # Remove everything after the table (ie: since the first line that starts with "# ", @@ -95,8 +95,6 @@ jobs: # Finally, merge them together - name: Append matrixes to create release body run: | - mv matrix_${{ github.event.release.tag_name }}_X64.md matrix_X64.md - mv matrix_${{ github.event.release.tag_name }}_ARM64.md matrix_ARM64.md sed -i -n '/# /q;p' matrix_X64.md sed -i -n '/# /q;p' matrix_ARM64.md sed -i 's/\[\(.\)\]([^)]*)/\1/g' matrix_X64.md diff --git a/.github/workflows/reusable_kernel_tests.yaml b/.github/workflows/reusable_kernel_tests.yaml index 3cde66fe7d..31e1816bc5 100644 --- a/.github/workflows/reusable_kernel_tests.yaml +++ b/.github/workflows/reusable_kernel_tests.yaml @@ -90,7 +90,7 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: matrix_${{ inputs.libsversion }}_${{matrix.architecture}}.md + name: matrix_${{ inputs.libsversion }}_${{matrix.architecture}} path: ./matrix_gen/matrix_${{matrix.architecture}}.md - name: Cleanup