Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunMengLu committed Jun 12, 2024
2 parents 5a5d6ef + f4e6824 commit be575ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 23 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
cache: 'maven'
java-version: 8
cache: 'maven'
cache-dependency-path: 'pom.xml'
server-id: oss
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
28 changes: 9 additions & 19 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,19 @@ name: Java CI
on: [push, pull_request]

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

0 comments on commit be575ca

Please sign in to comment.