working on the build #105
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 | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java_version: [11, 17] | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| with: | |
| fetch-depth: 0 # Important for versioning extension to work correctly | |
| - name: Mustache Specs | |
| run: | | |
| git submodule update --init --recursive | |
| - name: Set up JDK ${{ matrix.java_version }} | |
| uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 | |
| with: | |
| java-version: ${{ matrix.java_version }} | |
| distribution: "temurin" | |
| cache: maven | |
| - name: Install | |
| run: mvn clean install -DskipTests --batch-mode --no-transfer-progress | |
| env: | |
| BUILD_PORT: 0 | |
| BUILD_SECURE_PORT: 0 | |
| - name: Build | |
| run: mvn clean package --batch-mode --no-transfer-progress | |
| env: | |
| BUILD_PORT: 0 | |
| BUILD_SECURE_PORT: 0 |