build(CI): do not install java versions included in ubuntu image to s… #1032
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
| # Quickstart for GitHub Actions | |
| # https://docs.github.com/en/actions/quickstart | |
| name: Fast CI | |
| on: [ push, pull_request, workflow_dispatch ] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 5 | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, windows-latest ] | |
| java: [ 8.0.345, 8, 11, 17, 21, 23 ] | |
| fail-fast: false | |
| max-parallel: 64 | |
| name: Fast CI on Java ${{ matrix.java }} OS ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: zulu | |
| cache: maven | |
| - run: ./mvnw -V --no-transfer-progress clean package |