interactive session update #67
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 & Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Build & Test | |
run: mvn clean package | |
- name: Copy Release Artifacts | |
run: | | |
mkdir release | |
cp pom.xml target/*.jar release/ | |
- name: Build Standalone | |
run: mvn clean package -Pstandalone -DskipTests | |
- name: Copy Standalone Release Artifact | |
run: cp target/geopackage-*-standalone.jar release/ | |
- name: Create SQLite Exec | |
run: | | |
mkdir sqlite-exec | |
cp script/sqlite-exec/* sqlite-exec/ | |
cp target/geopackage-*-standalone.jar sqlite-exec/sqlite-exec.jar | |
zip -r sqlite-exec.zip sqlite-exec | |
cp sqlite-exec.zip release/ | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: geopackage | |
path: release |