✨ 兼容存在 MeterRegistry 类,但是 MeterRegistry bean 不存在的情况。gitee #I… #1303
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
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 |