[TNT-7113] Use commit hashes for github repo actions #58
This file contains 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: [1.8, 11, 15, 17] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e | |
- name: Mustache Specs | |
run: | | |
git submodule update --init --recursive | |
- name: Set up JDK ${{ matrix.java_version }} | |
uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde | |
with: | |
java-version: ${{ matrix.java_version }} | |
- 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 |