From be4631cbf8cbb62844f48bf7123f8cb7528ce41c Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 29 Jan 2024 19:15:36 +0100 Subject: [PATCH] Use unique artifact names for db jobs [ci] (#108653) --- .github/workflows/ci.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0b380400031..ecd2737ad72 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -898,6 +898,7 @@ jobs: python --version set -o pipefail mariadb=$(echo "${{ matrix.mariadb-group }}" | sed "s/:/-/g") + echo "mariadb=${mariadb}" >> $GITHUB_OUTPUT cov_params=() if [[ "${{ needs.info.outputs.skip_coverage }}" != "true" ]]; then cov_params+=(--cov="homeassistant.components.recorder") @@ -929,7 +930,8 @@ jobs: if: needs.info.outputs.skip_coverage != 'true' uses: actions/upload-artifact@v3.1.2 with: - name: coverage-${{ matrix.python-version }}-mariadb + name: coverage-${{ matrix.python-version }}-mariadb-${{ + steps.pytest-partial.outputs.mariadb }} path: coverage.xml - name: Check dirty run: | @@ -1022,6 +1024,7 @@ jobs: python --version set -o pipefail postgresql=$(echo "${{ matrix.postgresql-group }}" | sed "s/:/-/g") + echo "postgresql=${postgresql}" >> $GITHUB_OUTPUT cov_params=() if [[ "${{ needs.info.outputs.skip_coverage }}" != "true" ]]; then cov_params+=(--cov="homeassistant.components.recorder") @@ -1054,7 +1057,8 @@ jobs: if: needs.info.outputs.skip_coverage != 'true' uses: actions/upload-artifact@v3.1.0 with: - name: coverage-${{ matrix.python-version }}-postgresql + name: coverage-${{ matrix.python-version }}-${{ + steps.pytest-partial.outputs.postgresql }} path: coverage.xml - name: Check dirty run: |