Skip to content

Commit fc6443b

Browse files
committed
filename with sha
1 parent 368dd08 commit fc6443b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/model_benchmarking.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ jobs:
4646
run: |
4747
# sed 's/$/ test trigger/' 'ambient_sound_analysis/csv/2024-06-01 17:00:00.csv' > 'ambient_sound_analysis/csv/2024-06-01 17:00:00_new.csv'
4848
49-
output_file = "score_${{ github.event.pull_request.head.sha }}.csv"
50-
sed 's/$/, ${{ github.event.pull_request.user.login }}, ${{ github.event.pull_request.head.sha }}, $ {{github.event.pull_request.title}}/' 'ambient_sound_analysis/csv/test.csv' >
51-
"ambient_sound_analysis/csv/$output_file"
49+
export output_file = "score_${{ github.event.pull_request.head.sha }}.csv"
50+
sed 's/$/, ${{ github.event.pull_request.user.login }}, ${{ github.event.pull_request.head.sha }}, $ {{github.event.pull_request.title}}/' 'ambient_sound_analysis/csv/test.csv' > "ambient_sound_analysis/csv/$output_file"
5251
5352
- name: Upload to GitHub repo
5453
uses: stefanzweifel/git-auto-commit-action@v5

0 commit comments

Comments
 (0)