add widget and fix some stuff #20
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: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: make gradlew executable | |
run: chmod +x ./gradlew | |
- name: add api key property | |
run: echo "API_KEY=\"${{ secrets.DOLARITO_API_KEY }}\"" >> local.properties | |
- name: build debug | |
run: ./gradlew app:assembleDebug | |
- name: Upload | |
uses: actions/upload-artifact@v2 | |
with: | |
name: generated-apk | |
path: app/build/outputs/apk/debug/app-debug.apk | |
if-no-files-found: error |