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 149696e commit 9be77f9
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Download all results
uses: actions/download-artifact@v4
with:
name: 'results-*' # Use a wildcard to match all tracker result artifacts
path: results
- 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: Check downloaded files
run: |
Expand Down

0 comments on commit 9be77f9

Please sign in to comment.