6.7.4 release #155
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 Core Repository | |
uses: frabert/replace-string-action@master | |
id: core-repository | |
with: | |
pattern: '(.*)-android-map' | |
string: "${{ github.repository }}" | |
replace-with: '$1-core-java' | |
- name: Checkout Core Repository | |
uses: actions/checkout@v3 | |
with: | |
repository: ${{ steps.core-repository.outputs.replaced }} | |
ref: ${{ github.ref }} | |
path: geopackage-core-java | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Build & Install Core | |
run: mvn -f geopackage-core-java clean install -DskipTests | |
- name: Determine Android Repository | |
uses: frabert/replace-string-action@master | |
id: android-repository | |
with: | |
pattern: '(.*)-android-map' | |
string: "${{ github.repository }}" | |
replace-with: '$1-android' | |
- name: Checkout Android Repository | |
uses: actions/checkout@v3 | |
with: | |
repository: ${{ steps.android-repository.outputs.replaced }} | |
ref: ${{ github.ref }} | |
path: geopackage-android | |
- name: Build Android with Gradle | |
working-directory: geopackage-android | |
run: ./gradlew publishToMavenLocal -x signMavenPublication -x lint | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Build with Gradle | |
run: ./gradlew build -x lint |