Skip to content

Commit

Permalink
Create android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pokegamer5547 authored Sep 4, 2024
1 parent 7304f30 commit 0800213
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Android CI


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


jobs:
build:
runs-on: ubuntu-latest


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


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


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


- name: Upload APKs
uses: actions/upload-artifact@v3
with:
name: apk-files
path: app/build/outputs/apk/

0 comments on commit 0800213

Please sign in to comment.