Skip to content

Commit

Permalink
chore: Turns out if isn't supported in matrix.include
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Oct 22, 2024
1 parent 17c8966 commit 9443f96
Showing 1 changed file with 6 additions and 34 deletions.
40 changes: 6 additions & 34 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,43 +28,15 @@ jobs:
# branch protection settings for `next`.
base-path: [false, '/base']
next-version:
# Only keep versions where there were
# relevant changes in the app router core.
# Only keep versions where there were relevant changes in the app router core,
# and the previous one to use as a baseline.
- '14.2.0'
- '14.2.4'
- '14.2.8'
- '14.2.3' # before vercel/next.js#66755
- '14.2.4' # after vercel/next.js#66755
- '14.2.7' # before vercel/next.js#69509
- '14.2.8' # after vercel/next.js#69509
- latest
- local
include:
# All intermediate versions are tested
# only when merging PRs and before deployment.
# (these can be triggered using the dangling `ci` branch)
- next-version: '14.2.1'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.2'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.3'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.5'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.6'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.7'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.9'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.10'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.11'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.12'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.13'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.14'
if: ${{ github.event_name == 'push' }}
- next-version: '14.2.15'
if: ${{ github.event_name == 'push' }}

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
Expand Down

0 comments on commit 9443f96

Please sign in to comment.