diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 48b95fca..abe8fcb4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,8 +19,18 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 90 name: Build + strategy: + matrix: + jdk: [ '11', '17' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - name: Set up JDK ${{ matrix.jdk }} + uses: actions/setup-java@v4 + with: + java-version: ${{ matrix.jdk }} + distribution: 'adopt' + - name: Build project env: DSE_REPO_USERNAME: ${{ secrets.DSE_REPO_USERNAME }} @@ -41,9 +51,9 @@ jobs: jdk: ['11', '17'] pulsarImage: ['datastax/lunastreaming:2.10_3.4', 'apachepulsar/pulsar:2.10.3', 'apachepulsar/pulsar:2.11.0'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.jdk }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.jdk }} distribution: 'adopt' diff --git a/.github/workflows/dispatch-deploy-draft.yml b/.github/workflows/dispatch-deploy-draft.yml deleted file mode 100644 index 5a134ea9..00000000 --- a/.github/workflows/dispatch-deploy-draft.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Deploy Draft - -on: - pull_request: - branches: - - '**' - -jobs: - dispatch-deploy: - runs-on: ubuntu-latest - - steps: - - name: Deploy Draft - uses: convictional/trigger-workflow-and-wait@v1.6.5 - with: - owner: riptano - repo: datastax-docs-site - github_token: ${{ secrets.DOC_GITHUB_PAT_CROSS_ORG }} - workflow_file_name: deploy-draft.yml - client_payload: '{ "build_repository": "${{ github.event.repository.full_name }}", "build_branch": "${{ github.base_ref }}", "draft_branch": "${{ github.event.pull_request.head.ref }}", "pull_request_number": "${{ github.event.pull_request.number }}" }'