diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..6799890 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: set up JDK 17 + uses: actions/setup-java@v2 + with: + java-version: '17' + distribution: 'zulu' + - name: make gradlew executable + run: chmod +x ./gradlew + - name: build debug + run: ./gradlew app:assembleDebug + - name: Upload + uses: actions/upload-artifact@v2 + with: + name: generated-apk + path: app/build/outputs/apk/debug/app-debug.apk + if-no-files-found: error diff --git a/gradlew b/gradlew index eb2fd63..2456b62 100755 --- a/gradlew +++ b/gradlew @@ -1,5 +1,4 @@ -#!/usr/bin/ -env sh +#!/usr/bin/env sh #