v7.1.0 #1932
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 注意!! | |
# 此 PR 禁止使用包含敏感数据或者发布型的操作,避免恶意用户通过 PR 对供应链发起攻击 | |
name: Java CI (pull_request) | |
on: | |
pull_request: | |
branches: [ "master", "release" ] | |
workflow_dispatch: | |
jobs: | |
WebUI: | |
uses: ./.github/workflows/build_fe.yml | |
CI: | |
needs: WebUI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: webui-dist | |
path: src/main/resources/static | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "21" | |
cache: 'maven' | |
cache-dependency-path: '**/pom.xml' | |
- name: Build with Maven | |
run: mvn -B clean package --file pom.xml -P thin-sqlite-packaging | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: maven-dist | |
path: | | |
target/*.jar | |
target/media/*.exe |