Skip to content

Commit f03d1be

Browse files
authored
chore: only apply cacheComponents to Next.js 16 (#1333)
* chore: only apply cacheComponents to Next.js 16 * chore: trying another way
1 parent 6e5b4f3 commit f03d1be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-against-nextjs-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
matrix:
2323
base-path: [false, "/base"]
2424
react-compiler: [true, false]
25-
cache-components: [true, false]
25+
cache-components: ${{ startsWith(inputs.version, '16.') && fromJson('[true, false]') || fromJson('[false]') }}
2626
steps:
2727
- name: Ensure input follows SemVer
2828
# Source: https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string

0 commit comments

Comments
 (0)