mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-15 14:08:00 +00:00
use strategy.job-index to dedup
This commit is contained in:
parent
05dfeeb6cc
commit
ab10f1f844
1 changed files with 1 additions and 9 deletions
10
.github/actions/run-and-record-tests/action.yml
vendored
10
.github/actions/run-and-record-tests/action.yml
vendored
|
@ -188,19 +188,11 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
sudo docker logs ollama > ollama-${{ inputs.inference-mode }}.log || true
|
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
|
- name: Upload logs
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||||
with:
|
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: |
|
path: |
|
||||||
*.log
|
*.log
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue