This repository was archived by the owner on Aug 24, 2025. It is now read-only.
Bugfix: on idle detection reset movement-based sensor data. #1111
This file contains hidden or 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
| #https://github.com/marketplace/actions/android-emulator-runner | |
| name: Build APK | |
| on: | |
| push | |
| jobs: | |
| apk-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-tags: true | |
| fetch-depth: 0 #TODO See https://github.com/actions/checkout/issues/1471 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: '17' | |
| - name: Assemble APK | |
| shell: bash | |
| run: | | |
| echo ${NIGHTLY_STORE_FILE} | base64 -d > KEY_NIGHTLY.jks | |
| ./gradlew assembleNightly -Dnightly_store_file=KEY_NIGHTLY.jks -Dnightly_store_password="${NIGHTLY_STORE_PASSWORD}" -Dnightly_key_alias="${NIGHTLY_KEY_ALIAS}" -Dnightly_key_password="${NIGHTLY_STORE_PASSWORD}" | |
| env: | |
| NIGHTLY_STORE_FILE: ${{ secrets.NIGHTLY_STORE_FILE }} | |
| NIGHTLY_STORE_PASSWORD: ${{ secrets.NIGHTLY_STORE_PASSWORD }} | |
| NIGHTLY_KEY_ALIAS: ${{ secrets.NIGHTLY_KEY_ALIAS }} | |
| - name: Archive | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: OpenTracks-APK.apk | |
| path: ./build/outputs/apk/nightly/*.apk | |
| retention-days: 7 | |