feature: 指定某一列,当相邻单元格内容一致时合并处理 #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
java: [ 8, 11, 17, 21] | |
distribution: [ 'adopt' ] | |
fail-fast: false | |
max-parallel: 4 | |
name: Test JDK ${{ matrix.java }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: ${{ matrix.distribution }} | |
- name: Cache local Maven repository | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-m2 | |
- name: Test with Maven | |
if: ${{ matrix.java == '8' }} | |
run: ./mvnw test -B -Dmaven.test.skip=false | |
- name: Test with Maven | |
if: ${{ matrix.java != '8' }} | |
run: ./mvnw test -B -Dmaven.test.skip=false -DargLine="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED" | |
- name: Maven Build | |
run: ./mvnw install -B -V | |
- name: Java Doc | |
run: ./mvnw javadoc:javadoc |