From ef6b082fe765719ecec76713f396770d78ec3c4f Mon Sep 17 00:00:00 2001 From: ~$ i_safe <98740335+aspsptyd@users.noreply.github.com> Date: Wed, 23 Oct 2024 16:21:13 +0700 Subject: [PATCH] Create CI / CD --- .github/workflows/AndroidBuild.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/AndroidBuild.yaml diff --git a/.github/workflows/AndroidBuild.yaml b/.github/workflows/AndroidBuild.yaml new file mode 100644 index 0000000..d6ac713 --- /dev/null +++ b/.github/workflows/AndroidBuild.yaml @@ -0,0 +1,28 @@ +name: AndroidBuild +on: + pull_request : + branches: [ master ] + push : + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name : Checkout + uses: actions/checkout@v4.1.0 + + - name : Setup Java JDK + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'adopt' + + - name : Build with Gradle + run : ./gradlew build + + - name : Upload a Build Artifact + uses: actions/upload-artifact@v4 + with: + name: AndoridRelease.apk + path: app/build/outputs/apk/debug/app-debug.apk