From d877c8882f0d7bbd7e0872c19f9529e53c3eb8a5 Mon Sep 17 00:00:00 2001 From: Canny <94744045+Canny1913@users.noreply.github.com> Date: Sun, 9 Oct 2022 20:51:47 +0300 Subject: [PATCH] build: debug workflow --- .github/workflows/blank.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..5c4a9bc --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,31 @@ +name: Android Debug + +on: + push: + branches: [ "compose" ] + pull_request: + branches: [ "compose" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: gradle + + - name: Build with Gradle + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: ./gradlew assembleDebug + - name: Store generated APK file + uses: actions/upload-artifact@v2 + with: + name: manager + path: ./app/build/outputs/apk/debug/app-debug.apk