Skip to content

Merge pull request #51 from hegocre/maintenance/updates #112

Merge pull request #51 from hegocre/maintenance/updates

Merge pull request #51 from hegocre/maintenance/updates #112

Workflow file for this run

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