-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from ngageoint/develop
Release v2.1.11 geopackage android map 6.7.3 with blob support backend library updates create sample geopackage on launch build script updates to run lint
- Loading branch information
Showing
12 changed files
with
10,697 additions
and
123 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,15 @@ jobs: | |
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
- name: set up JDK 16 | ||
- name: set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 16 | ||
java-version: 17 | ||
distribution: 'adopt' | ||
- name: Setup Keystore | ||
run: | | ||
echo "${{ secrets.SIGNING_KEY }}" > release.b64 | ||
base64 -d release.b64 > release.keystore | ||
- name: mobsfscan | ||
uses: MobSF/[email protected] | ||
with: | ||
|
@@ -24,21 +28,30 @@ jobs: | |
with: | ||
sarif_file: results.sarif | ||
- name: Build with Gradle | ||
run: ./gradlew assembleRelease -PRELEASE_MAPS_MAPCACHE_API_KEY=${{ secrets.RELEASE_MAPS_MAPCACHE_API_KEY }} | ||
- name: Sign APK | ||
uses: r0adkll/sign-android-release@v1 | ||
run: | | ||
./gradlew clean assembleRelease \ | ||
-PKEYSTORE=../release.keystore \ | ||
-PKEYSTORE_PASSWORD=${{ secrets.KEY_STORE_PASSWORD }} \ | ||
-PKEY_ALIAS=${{ secrets.ALIAS }} \ | ||
-PKEY_PASSWORD=${{ secrets.KEY_PASSWORD }} \ | ||
-PRELEASE_MAPS_MAPCACHE_API_KEY=${{ secrets.RELEASE_MAPS_MAPCACHE_API_KEY }} | ||
- run: ./gradlew lint | ||
- uses: yutailang0119/[email protected] | ||
with: | ||
report-path: build/reports/*.xml | ||
follow-symbolic-links: true | ||
- name: print lint xml results | ||
uses: hidakatsuya/[email protected] | ||
with: | ||
releaseDirectory: mapcache/build/outputs/apk/release | ||
signingKeyBase64: ${{ secrets.SIGNING_KEY }} | ||
alias: ${{ secrets.ALIAS }} | ||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} | ||
keyPassword: ${{ secrets.KEY_PASSWORD }} | ||
- name: Copy Release Artifacts | ||
result-path: 'mapcache/build/reports/lint-results-debug.xml' | ||
fail-on-warning: false | ||
- name: Verify Signature | ||
run: $ANDROID_SDK_ROOT/build-tools/33.0.1/apksigner verify --print-certs mapcache/build/outputs/apk/release/mapcache.apk | ||
- name: List files in the repository | ||
run: | | ||
mkdir mapcache/build/release | ||
cp mapcache/build/outputs/apk/release/mapcache-*-signed.apk "mapcache/build/release/mapcache-$(./gradlew mapcache:androidAppVersion | grep versionName | sed 's/^.*@//').apk" | ||
ls -R ${{ github.workspace }} | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: mapcache | ||
path: mapcache/build/release | ||
path: mapcache/build/outputs/apk/release/mapcache.apk |
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
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
Oops, something went wrong.