File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -87,13 +87,19 @@ jobs:
8787 if [ $ncores -eq 128 ]; then export MACHINE_TYPE="c6id.metal"; fi
8888 MACHINE_TYPE=$MACHINE_TYPE ./_run/run_small_medium.sh
8989
90+ - name : name new branch
91+ shell : bash
92+ run : |
93+ echo "new_branch_name=results-`date +%Y-%m-%d-%Hh%Mm`" >> $GITHUB_ENV
94+ echo ${{ env.new_branch_name }}
9095
9196 - name : Commit updates
9297 shell : bash
9398 working-directory : /var/lib/mount/db-benchmark-metal
9499 run : |
95100 git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
96101 git config --local user.name "github-actions[bot]"
102+ git checkout -b ${{ env.new_branch_name }}
97103 git add time.csv logs.csv **/VERSION
98104 git add run.conf
99105 git commit -m "new_results"
@@ -107,10 +113,7 @@ jobs:
107113 echo "guarantee not empty dir" > out/guarantee.txt
108114 zip -r out-dir.zip out/
109115
110- - name : name new branch
111- shell : bash
112- run : |
113- echo "new_branch_name=results-`date +%Y-%m-%d-%Hh%Mm`" >> $GITHUB_ENV
116+
114117
115118 - uses : actions/upload-artifact@v4
116119 if : always()
You can’t perform that action at this time.
0 commit comments