Skip to content

Update DatabaseManager.java #14

Update DatabaseManager.java

Update DatabaseManager.java #14

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ "main" ] # 触发构建的分支
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# 检出代码
- name: Check out repository
uses: actions/checkout@v4
# 设置 Java 环境
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
# 构建项目
- name: Build with Maven
run: mvn -B package --file pom.xml
# 上传生成的插件 jar 文件到 Actions 运行结果中
- name: Upload Plugin Jar
uses: actions/upload-artifact@v3
with:
name: LongTimeNoSee.jar
path: target/LongTimeNoSee-1.1-SNAPSHOT.jar