From b52b2a5e4291d7a29ff7f23a3af4423020a15401 Mon Sep 17 00:00:00 2001 From: Ianick Noejovich Date: Fri, 27 Oct 2023 18:38:33 -0300 Subject: [PATCH] action --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build.yml 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