Skip to content

set up version 6.7.4 #76

set up version 6.7.4

set up version 6.7.4 #76

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