6.7.2 Javadoc #72
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 Artifacts | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Build with Gradle | |
run: ./gradlew build -x lint | |
- name: Copy Release Artifacts | |
run: | | |
mkdir geopackage-map/build/release | |
cp geopackage-map/build/libs/*.jar geopackage-map/build/outputs/aar/*release.aar geopackage-map/build/release/ | |
grep "version =" geopackage-map/build.gradle | sed 's/[a-z ="]//g' > VERSION | |
mv geopackage-map/build/release/*.aar geopackage-map/build/release/geopackage-android-map-$(cat VERSION).aar | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: geopackage-android-map | |
path: geopackage-map/build/release |