Skip to content

Commit

Permalink
Create android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hkfuertes authored Mar 26, 2022
1 parent 4570d11 commit fb7b87d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Android CI

on:
# Run it manually
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- name: Change directory
run: cd ./android-app

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build

- name: Upload the artifacts
uses: actions/[email protected]
with:
# Artifact name
name: release
# Destination path
path: ./flutter_app/build/app/outputs/apk/release/*.apk

0 comments on commit fb7b87d

Please sign in to comment.