feat: add loading indicator fragment #68
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 APK | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
cache: 'gradle' | |
- name: Prepare Android keystore | |
run: echo ${{ secrets.ENCODEDKEYSTORE }} | base64 --decode > app/keystore.jks | |
- name: Download dependencies | |
run: ./gradlew androidDependencies | |
- name: Build release APK | |
run: ./gradlew assembleRelease | |
env: | |
KEYSTORE: keystore.jks | |
KEYSTORE_PASSWORD: ${{ secrets.KEYSTOREPASSWORD }} | |
KEY_ALIAS: ${{ secrets.KEYALIAS }} | |
KEY_PASSWORD: ${{ secrets.KEYPASSWORD }} | |
- name: Upload release APK | |
uses: actions/upload-artifact@v2 | |
with: | |
name: release.apk | |
path: app/build/outputs/apk/release/app-release.apk |