diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 5de223fc6e5..1573f308bb0 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -5,9 +5,9 @@ name: Java CI with Maven on: push: - branches: [ main ] + branches: [ master ] pull_request: - branches: [ main ] + branches: [ master ] jobs: build: @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up JDK ${{matrix.java}} - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: ${{matrix.java}} distribution: 'adopt'