Bump org.apache.kafka:connect-api from 3.4.0 to 4.1.0 #218
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Builder | |
| on: | |
| pull_request_target: | |
| jobs: | |
| check_for_membership: | |
| runs-on: ubuntu-latest | |
| name: Check PR author membership | |
| outputs: | |
| check-result: ${{ steps.composite.outputs.check-result }} | |
| steps: | |
| - name: Action for membership check | |
| id: composite | |
| uses: hazelcast/hazelcast-tpm/membership@main | |
| with: | |
| organization-name: 'hazelcast' | |
| member-name: ${{ github.actor }} | |
| token: ${{ secrets.GH_TOKEN }} | |
| pr-builder: | |
| runs-on: ubuntu-latest | |
| needs: check_for_membership | |
| steps: | |
| - name: Detect untrusted community PR | |
| if: ${{ needs.check_for_membership.outputs.check-result == 'false' && github.actor != 'dependabot[bot]' }} | |
| run: | | |
| echo "::error::ERROR: Untrusted external PR. Must be reviewed and executed by Hazelcast" 1>&2; | |
| exit 1 | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: refs/pull/${{ github.event.pull_request.number }}/merge | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| distribution: temurin | |
| cache: maven | |
| - name: Configure AWS Credentials | |
| uses: aws-actions/configure-aws-credentials@v4 | |
| with: | |
| aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| aws-region: 'us-east-1' | |
| - name: Get Secrets | |
| uses: aws-actions/aws-secretsmanager-get-secrets@v2 | |
| with: | |
| secret-ids: | | |
| HZ_LICENSE_KEY,CN/HZ_LICENSE_KEY | |
| - name: Build and test | |
| run: | | |
| ${RUNNER_DEBUG:+set -x} | |
| mvn \ | |
| --batch-mode \ | |
| --errors \ | |
| --no-transfer-progress \ | |
| ${RUNNER_DEBUG:+--show-version} \ | |
| "-Dhazelcast.enterprise.license.key=${HZ_LICENSE_KEY}" \ | |
| verify |