diff --git a/.github/workflows/unit-test-java11.yml b/.github/workflows/unit-test-java11.yml deleted file mode 100644 index 285f2778c..000000000 --- a/.github/workflows/unit-test-java11.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: unit-test-java11 - -on: - push: - branches: - - '**java11' - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup JDK - uses: actions/setup-java@v3 - with: - distribution: 'liberica' - java-version: '11' - - name: Build and test with Gradle - run: ./gradlew clean build diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 86e2d97d4..1e480b9f2 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -1,9 +1,6 @@ name: unit-test -on: - push: - branches-ignore: - - '**java11' +on: [push] permissions: contents: read @@ -13,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Setup JDK 8 + - name: Setup JDK uses: actions/setup-java@v3 with: distribution: 'liberica' - java-version: '8' + java-version: '11' - name: Build and test with Gradle run: ./gradlew clean build