diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 78ee2a62a7..f9c7617314 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -11,13 +11,7 @@ on: jobs: build-and-publish-snapshots: - strategy: - fail-fast: false - matrix: - jdk: [11, 17] - platform: ["ubuntu-latest", "windows-latest", "macos-latest"] - if: github.repository == 'opensearch-project/security' - runs-on: ${{ matrix.platform }} + runs-on: ubuntu-latest permissions: id-token: write @@ -27,7 +21,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: ${{ matrix.jdk }} + java-version: 11 - uses: actions/checkout@v3 - uses: aws-actions/configure-aws-credentials@v1 with: