diff --git a/.github/workflows/AndroidBuild.yml b/.github/workflows/AndroidBuild.yml index 8b13789..ef57938 100644 --- a/.github/workflows/AndroidBuild.yml +++ b/.github/workflows/AndroidBuild.yml @@ -1 +1,38 @@ +name: AndroidBuild +on: + pull_request: + branches: [ main ] + push: + branches: [ main ] + +jobs: + build: + runs-on : ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.2 + + - name: Setup Java JDK + uses: actions/setup-java@v4.2.1 + + - name : Build With Gradle + run: .gradlew/build + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.3.1 + with: + name: TeaHub.apk + path: app/build/outputs/apk/TeaHub-debug.apk + + + + + + + + + + + +