Skip to content

修复MySQL驱动加载并优化连接获取逻辑,同时处理异常。 #12

修复MySQL驱动加载并优化连接获取逻辑,同时处理异常。

修复MySQL驱动加载并优化连接获取逻辑,同时处理异常。 #12

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