From ada7a7d7b049ad65341e87920fba23efe0e08af8 Mon Sep 17 00:00:00 2001 From: Pete Cheslock Date: Fri, 1 Sep 2023 13:08:10 -0400 Subject: [PATCH] Need to always set the env var so the maps save correctly --- .github/workflows/appmap-analysis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/appmap-analysis.yml b/.github/workflows/appmap-analysis.yml index a2b7b266fc..23304d9030 100644 --- a/.github/workflows/appmap-analysis.yml +++ b/.github/workflows/appmap-analysis.yml @@ -47,13 +47,14 @@ jobs: pytest --no-cov --splits 18 --group ${{ matrix.group }} - name: Set matrix group env var with zero-based numbering + if: always() env: NUM: ${{ matrix.group }} run: | echo "ARCHIVE_ID=$(($NUM - 1))" >> $GITHUB_ENV - name: Save AppMap archive - if: (success() || failure()) + if: always() uses: getappmap/archive-action@v1 with: archive-id: ${{ env.ARCHIVE_ID }}