Skip to content

优化异常处理,缓存数组长度,重写toString方法以提高性能 #8

优化异常处理,缓存数组长度,重写toString方法以提高性能

优化异常处理,缓存数组长度,重写toString方法以提高性能 #8

Workflow file for this run

name: Java CI with Maven
on:
push:
branches:
- '*' # 所有分支
pull_request:
branches:
- '*' # 所有分支
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: ['8', '11', '17', '21']
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: CatSeedLogin-${{ matrix.java-version }}
path: target/*.jar