Skip to content

Commit 623b913

Browse files
committed
check jar package
1 parent 176a65d commit 623b913

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,24 @@ jobs:
4545
${{ runner.os }}-m2
4646
- name: Chmod
4747
run: chmod +x mvnw
48+
- name: Build fastexcel-support
49+
run: ./mvnw -pl fastexcel-support install -B -V
50+
- name: Check CGLIB in JAR
51+
run: |
52+
jar -xf fastexcel-support/target/fastexcel-support-*.jar
53+
if [ -d "cn/idev/excel/support/cglib" ]; then
54+
echo "CGLIB directory exists in the JAR."
55+
else
56+
echo "CGLIB directory does not exist in the JAR."
57+
exit 1
58+
fi
4859
- name: Test with Maven
4960
if: ${{ matrix.java == '8' }}
5061
run: ./mvnw test -B -Dmaven.test.skip=false
5162
- name: Test with Maven
5263
if: ${{ matrix.java != '8' }}
5364
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"
65+
5466
- name: Maven Build
5567
run: ./mvnw install -B -V
5668
- name: Java Doc

0 commit comments

Comments
 (0)