Skip to content

Merge pull request #4 from VSPlayStore/dependabot/github_actions/acti… #7

Merge pull request #4 from VSPlayStore/dependabot/github_actions/acti…

Merge pull request #4 from VSPlayStore/dependabot/github_actions/acti… #7

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@v4
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Create file
run: |
echo DECRYPTION_KEY=${{ secrets.DECRYPTION_KEY }} > .env
echo VERIFICATION_KEY=${{ secrets.VERIFICATION_KEY }} >> .env
echo ${{ secrets.GOOGLE_SERVICES_JSON }} | base64 -d > app/google-services.json
- name: Build with Gradle
run: chmod +x gradlew && ./gradlew assembleDebug --stacktrace
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: app
path: app/build/outputs/apk/debug/app-debug.apk