Skip to content

优化代码性能和可读性,修复潜在的多线程问题 #10

优化代码性能和可读性,修复潜在的多线程问题

优化代码性能和可读性,修复潜在的多线程问题 #10

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