Multiplatform compatible #34
Workflow file for this run
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: Intrumentation test | |
on: | |
pull_request: | |
branches: | |
- '**' | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
instrumentation_test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: Cache gradle dir | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Run build | |
run: | | |
./gradlew MiddleEllipsisText:assembleRelease MiddleEllipsisText3:assembleRelease | |
env: | |
OSSRH_USERNAME: username | |
OSSRH_PASSWORD: password | |
SIGNING_KEY: signingkey | |
SIGNING_KEY_ID: signingkeyid | |
SONATYPE_STAGING_PROFILE_ID: profileid |