Merge branch 'master' into develop #25
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: | |
branches-ignore: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Determine Java Repository | |
uses: frabert/replace-string-action@master | |
id: java-repository | |
with: | |
pattern: '(.*)-android' | |
string: "${{ github.repository }}" | |
replace-with: '$1-java' | |
- name: Checkout Java Repository | |
uses: actions/checkout@v3 | |
with: | |
repository: ${{ steps.java-repository.outputs.replaced }} | |
ref: ${{ github.ref }} | |
path: gars-java | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Build & Install Java | |
run: mvn -f gars-java clean install -DskipTests | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Build with Gradle | |
run: ./gradlew build -x lint |