Skip to content

Commit

Permalink
fix artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikel Broström committed Sep 21, 2024
1 parent 9be77f9 commit e57aba8
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Download results for each tracker
run: |
trackers=("ocsort" "bytetrack" "botsort" "hybridsort" "deepocsort" "imprassoc" "strongsort")
for tracker in "${trackers[@]}"; do
echo "Downloading results for $tracker..."
artifact_name="results-${{ github.run_id }}-$tracker"
gh run download ${{ github.run_id }} --name "$artifact_name" --dir results
done
- name: Download all results artifacts
uses: actions/download-artifact@v4
with:
name: results-${{ github.run_id }} # No need to download each separately since all trackers were handled in the matrix
path: results

- name: Check downloaded files
run: |
Expand Down

0 comments on commit e57aba8

Please sign in to comment.