Create FEATURE-REQUEST.yml #110
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: Android CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Access CLIENT_ID | |
env: | |
CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
run: echo CLIENT_ID=\"$CLIENT_ID\" > ./apikey.properties | |
- name: Access CLIENT_SECRET | |
env: | |
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} | |
run: echo CLIENT_SECRET=\"$CLIENT_SECRET\" >> ./apikey.properties | |
- name: set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Build with Gradle | |
run: ./gradlew clean && ./gradlew assembleDebug | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: app-debug.apk | |
path: app/build/outputs/apk/debug/app-debug.apk |