File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change 9292 cat training.log # Debug: show output
9393 fi
9494
95- - name : Extract score
96- shell : bash
97- run : |
98- # Extract only the last occurrence of "score:"
99- score=$(grep -oP 'score:\s*\d+(\.\d+)?' training.log | tail -n 1 | awk '{print $2}')
100-
101- echo "Score extracted: $score"
102- echo "::set-output name=score::$score"
103-
10495 - name : Upload training artifacts
10596 uses : actions/upload-artifact@v4
10697 if : always()
Original file line number Diff line number Diff line change @@ -120,15 +120,6 @@ jobs:
120120 cat training.log # Debug: show output
121121 fi
122122
123- - name : Extract score
124- shell : bash
125- run : |
126- # Extract only the last occurrence of "score:"
127- score=$(grep -oP 'score:\s*\d+(\.\d+)?' training.log | tail -n 1 | awk '{print $2}')
128-
129- echo "Score extracted: $score"
130- echo "::set-output name=score::$score"
131-
132123 - name : Upload training artifacts
133124 uses : actions/upload-artifact@v4
134125 if : always()
You can’t perform that action at this time.
0 commit comments