feat: 新增客户端配置中心相关字段及获取方法 #141
This file contains hidden or 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: Testing-Java | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/* | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| branches: | |
| - main | |
| - release/* | |
| paths-ignore: | |
| - '**.md' | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| java: [ 8, 11, 17, 21, 25 ] | |
| os: [ 'windows-latest', 'ubuntu-latest' ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout codes | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| - name: Cache local Maven repository | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven- | |
| - name: Test with Maven | |
| run: | | |
| cd source/java | |
| bash build.sh | |
| cd polaris-specification | |
| mvn clean test -B -U |