File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ jobs:
3030
3131 if [ -n "${{ github.base_ref }}" ]; then
3232 CHANGED_OUTPUTS=$(echo "${{ github.event.pull_request.body }}" | sed -n 's/.*CHANGED_OUTPUTS=\([^ ]*\).*/\1/p')
33- BASE_BRANCH ="${{ github.base_ref }}"
34- HEAD_BRANCH="${{ github.head_ref || github.ref_name }}"
33+ BASE_REF ="${{ github.base_ref }}"
34+ HEAD_REF=$(git rev-parse HEAD)
3535
36- git fetch origin $BASE_BRANCH
37- git checkout $BASE_BRANCH
36+ git fetch origin $BASE_REF
37+ git checkout $BASE_REF
3838 ./cargo_util.py --make_golden_outputs
39- git checkout $HEAD_BRANCH
40- ./cargo_util.py --test_outputs --ignore_new_outputs --changed_outputs $CHANGED_OUTPUTS
39+ git checkout $HEAD_REF
40+ ./cargo_util.py --test_outputs --ignore_new_outputs --changed_outputs= $CHANGED_OUTPUTS
4141 fi
4242 - name : Upload golden outputs
4343 if : ${{ always() }}
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ fn example(c: Common)
101101
102102 let mut fg = Figure :: new ( ) ;
103103
104+ // Small change.
104105 fg. axes2d ( )
105106 . set_pos_grid ( 2 , 2 , 0 )
106107 . lines (
You can’t perform that action at this time.
0 commit comments