ci: fix logs artefact name

This commit is contained in:
Ivan Dyachkov 2022-12-09 16:13:53 +01:00
parent 061fe144b8
commit 93789fb872
2 changed files with 5 additions and 3 deletions

View File

@ -187,7 +187,7 @@ jobs:
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
if: failure() if: failure()
with: with:
name: logs-${{ matrix.app[0] }}-${{ matrix.app[1] }} name: logs-${{ matrix.app[1] }}-${{ matrix.app[2] }}
path: source/_build/test/logs path: source/_build/test/logs
ct: ct:
@ -243,7 +243,7 @@ jobs:
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
if: failure() if: failure()
with: with:
name: logs-${{ matrix.app[0] }}-${{ matrix.app[1] }} name: logs-${{ matrix.app[1] }}-${{ matrix.app[2] }}
path: source/_build/test/logs path: source/_build/test/logs
make_cover: make_cover:

View File

@ -78,7 +78,9 @@ dimensions() {
;; ;;
esac esac
## poor-man's json formatter ## poor-man's json formatter
echo -n -e "[\"$app\", \"$profile\"]" ## apps/<app name>, <profile>, apps_<app name>
## third one is for github actions (they don't like slash in variables)
echo -n -e "[\"$app\", \"$profile\", \"${app//\//_}\"]"
} }
matrix() { matrix() {