File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 4242 name : Laravel ${{ matrix.laravel }} on PHP ${{ matrix.php }} (${{ matrix.os }})
4343 runs-on : ${{ matrix.os }}-latest
4444 steps :
45- - name : Checkout the code
45+ - name : Checkout the PR Branch
4646 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' }}
4754
4855 - name : Install PHP and composer environment
4956 uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 4242 name : Laravel ${{ matrix.laravel }} on PHP ${{ matrix.php }} (${{ matrix.os }})
4343 runs-on : ${{ matrix.os }}-latest
4444 steps :
45- - name : Checkout the code
45+ - name : Checkout the PR Branch
4646 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' }}
4754
4855 - name : Install PHP and composer environment
4956 uses : shivammathur/setup-php@v2
You can’t perform that action at this time.
0 commit comments