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