Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Add "APK" Github Actions Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Aug 25, 2023
1 parent 945f89b commit 5bd5311
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/apk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: APK

on: push

jobs:
assemble_demo_apk:
runs-on: ubuntu-latest
steps:
- name: Checkout GIT
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '18'

- name: Enable Gradle Wrapper caching (optmization)
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build Demo APK
run: ./gradlew assembleDemo

- name: Upload the APK to Github Actions
uses: actions/upload-artifact@v3
with:
name: Ivy-Wallet-Demo.apk
path: app/build/outputs/apk/demo/app-demo.apk

0 comments on commit 5bd5311

Please sign in to comment.