fix: KeyBuilder.buildKeyWithSharedDomain for EC keys
#123
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: Build robot | |
| on: | |
| push: | |
| branches: | |
| - next | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| branches: | |
| - next | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| java: [ 17, 21, 25 ] | |
| name: Java ${{ matrix.java }} build | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| fetch-depth: 0 # To make git describe give the intended output | |
| fetch-tags: true | |
| - name: Setup Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: zulu | |
| cache: maven | |
| - name: Run Maven | |
| run: ./mvnw -B --no-transfer-progress initialize && ./mvnw -B --no-transfer-progress -T1C -U verify | |
| - name: Set SSH key | |
| if: matrix.java == '17' && (github.ref == 'refs/heads/next' || startsWith(github.ref, 'refs/tags/v')) | |
| uses: webfactory/ssh-agent@v0.9.1 | |
| with: | |
| ssh-private-key: ${{ secrets.SSH_KEY }} | |
| - name: Add known host key | |
| if: matrix.java == '17' && (github.ref == 'refs/heads/next' || startsWith(github.ref, 'refs/tags/v')) | |
| run: ssh-keyscan mvn.javacard.pro >> ~/.ssh/known_hosts | |
| - name: Deploy package | |
| if: matrix.java == '17' && (github.ref == 'refs/heads/next' || startsWith(github.ref, 'refs/tags/v')) | |
| run: ./mvnw -B --no-transfer-progress deploy |