diff --git a/.github/workflows/android-build.yaml b/.github/workflows/android-build.yaml new file mode 100644 index 00000000..bb25c9c9 --- /dev/null +++ b/.github/workflows/android-build.yaml @@ -0,0 +1,29 @@ +name: Android Build and Release + +on: + push: + branches: + - '*' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up environment + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'zulu' + - name: Gradle cache + uses: gradle/actions/setup-gradle@v3 + - name: Build APK debug + run: ./gradlew assembleDebug + - name: Build APK release + run: ./gradlew assembleRelease + - name: Upload debug apk + uses: actions/upload-artifact@v2 + with: + name: enioka_scan_demo_apks + path: enioka_scan/build/outputs/apk \ No newline at end of file