chore(release): retire GitHub Packages distribution #9
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify: | |
| name: Verify Java ${{ matrix.java-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java-version: ["17", "21", "25"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java-version }} | |
| cache: maven | |
| - name: Verify SDK, examples, documentation, and package artifacts | |
| run: mvn --batch-mode --no-transfer-progress verify | |
| - name: Upload coverage report | |
| if: matrix.java-version == '17' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: jacoco-report | |
| path: target/site/jacoco | |
| - name: Upload Maven artifacts | |
| if: matrix.java-version == '17' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: maven-artifacts | |
| path: | | |
| target/*.jar | |
| pom.xml |