Skip to content

✨ 代码优化

✨ 代码优化 #1114

name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '21' ]
name: Java ${{ matrix.Java }} build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'maven'
cache-dependency-path: 'pom.xml'
- name: Build with Maven
run: mvn package -P !develop