WIP: fix: state lost on orientation change in sensor activities #550
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: Build | |
on: | |
pull_request: | |
branches: | |
- master | |
- development | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download repository | |
uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
- name: Save PR number | |
run: | | |
mkdir -p ./pr | |
echo ${{ github.event.number }} > ./pr/NR | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: pr | |
path: pr/ | |
- name: Build with Gradle | |
run: | | |
bash ./gradlew build --stacktrace | |
- name: Store APK file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: apk-files | |
path: | | |
app/build/outputs/apk/debug/app-debug.apk |