File tree 2 files changed +16
-2
lines changed 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 42
42
name : Laravel ${{ matrix.laravel }} on PHP ${{ matrix.php }} (${{ matrix.os }})
43
43
runs-on : ${{ matrix.os }}-latest
44
44
steps :
45
- - name : Checkout the code
45
+ - name : Checkout the PR Branch
46
46
uses : actions/checkout@v2
47
+ if : ${{ github.event_name == 'pull_request' }}
48
+
49
+ - name : Checkout the v2 Branch
50
+ uses : actions/checkout@v2
51
+ # Set the branch to our version branch not master when scheduled.
52
+ ref : ' next/2.x/main'
53
+ if : ${{ github.event_name == 'schedule' }}
47
54
48
55
- name : Install PHP and composer environment
49
56
uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 42
42
name : Laravel ${{ matrix.laravel }} on PHP ${{ matrix.php }} (${{ matrix.os }})
43
43
runs-on : ${{ matrix.os }}-latest
44
44
steps :
45
- - name : Checkout the code
45
+ - name : Checkout the PR Branch
46
46
uses : actions/checkout@v2
47
+ if : ${{ github.event_name == 'pull_request' }}
48
+
49
+ - name : Checkout the v4 Branch
50
+ uses : actions/checkout@v2
51
+ # Set the branch to our version branch not master when scheduled.
52
+ ref : ' next/4.x/main'
53
+ if : ${{ github.event_name == 'schedule' }}
47
54
48
55
- name : Install PHP and composer environment
49
56
uses : shivammathur/setup-php@v2
You can’t perform that action at this time.
0 commit comments