From 93789fb8729dbead4e1ce23470a9661dbc980bb1 Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Fri, 9 Dec 2022 16:13:53 +0100 Subject: [PATCH] ci: fix logs artefact name --- .github/workflows/run_test_cases.yaml | 4 ++-- scripts/find-apps.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_test_cases.yaml b/.github/workflows/run_test_cases.yaml index d2aacd086..c30de16b1 100644 --- a/.github/workflows/run_test_cases.yaml +++ b/.github/workflows/run_test_cases.yaml @@ -187,7 +187,7 @@ jobs: - uses: actions/upload-artifact@v3 if: failure() with: - name: logs-${{ matrix.app[0] }}-${{ matrix.app[1] }} + name: logs-${{ matrix.app[1] }}-${{ matrix.app[2] }} path: source/_build/test/logs ct: @@ -243,7 +243,7 @@ jobs: - uses: actions/upload-artifact@v3 if: failure() with: - name: logs-${{ matrix.app[0] }}-${{ matrix.app[1] }} + name: logs-${{ matrix.app[1] }}-${{ matrix.app[2] }} path: source/_build/test/logs make_cover: diff --git a/scripts/find-apps.sh b/scripts/find-apps.sh index fefb73568..a92c56748 100755 --- a/scripts/find-apps.sh +++ b/scripts/find-apps.sh @@ -78,7 +78,9 @@ dimensions() { ;; esac ## poor-man's json formatter - echo -n -e "[\"$app\", \"$profile\"]" + ## apps/, , apps_ + ## third one is for github actions (they don't like slash in variables) + echo -n -e "[\"$app\", \"$profile\", \"${app//\//_}\"]" } matrix() {