DText parser: Remove unused type parameter from MessageData #112
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 workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle | |
name: Snapshot build | |
on: | |
push: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Set up android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: wrapper | |
- name: Run tests | |
run: ./gradlew testDebugUnitTest | |
- name: Build snapshot | |
run: ./gradlew assembleRelease | |
- uses: actions/cache@v3 | |
id: debug-key-cache | |
with: | |
path: debug.keystore | |
key: debug-key | |
- name: Generate debug key | |
if: steps.debug-key-cache.outputs.cache-hit != 'true' | |
run: keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg RSA -validity 14000 -dname "cn=Unknown, ou=Unknown, o=Unknown, c=Unknown" | |
- name: Sign APK with debug key | |
run: $(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort -r | grep -v rc | head -1) sign --ks debug.keystore --ks-pass pass:android --out app/build/outputs/apk/release/app-release-signed-debug-key.apk app/build/outputs/apk/release/app-release-unsigned.apk | |
- name: Upload APK | |
uses: actions/upload-artifact@v3 | |
with: | |
name: app-release.apk | |
path: app/build/outputs/apk/release/app-release-signed-debug-key.apk |