From ab10f1f844da251f62b6e41aeeb576167e3577d8 Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Thu, 31 Jul 2025 15:13:27 -0700 Subject: [PATCH] use strategy.job-index to dedup --- .github/actions/run-and-record-tests/action.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/actions/run-and-record-tests/action.yml b/.github/actions/run-and-record-tests/action.yml index cde9c85ae..a6acc5ce6 100644 --- a/.github/actions/run-and-record-tests/action.yml +++ b/.github/actions/run-and-record-tests/action.yml @@ -188,19 +188,11 @@ runs: run: | sudo docker logs ollama > ollama-${{ inputs.inference-mode }}.log || true - - name: Set artifact name - shell: bash - run: | - # Replace colons with dashes in stack-config for artifact naming - suffix="${{ inputs.stack-config }}" - suffix="${suffix//:/-}" - echo "ARTIFACT_NAME_SUFFIX=$suffix" >> $GITHUB_ENV - - name: Upload logs if: ${{ always() }} uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: - name: logs-${{ github.run_id }}-${{ github.run_attempt || '' }}-${{ inputs.provider }}-${{ inputs.run-vision-tests }}-${{ env.ARTIFACT_NAME_SUFFIX }} + name: logs-${{ github.run_id }}-${{ github.run_attempt || '' }}-${{ strategy.job-index }} path: | *.log retention-days: 1