Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe3O4-Git authored and Fe3O4-Git committed Aug 31, 2022
2 parents 40de034 + d44505c commit 2271ce8
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Android CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

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

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

- name: Upload debug apk
uses: actions/upload-artifact@v3.1.0
with:
name: app-debug
path: app/build/outputs/apk/debug
if-no-files-found: error

- name: Upload release apk
uses: actions/upload-artifact@v3.1.0
with:
name: app-debug
path: app/build/outputs/apk/release
if-no-files-found: error

0 comments on commit 2271ce8

Please sign in to comment.