From e1bf8de11cb73a4f9bb1cab8eeee648d5d7427bc Mon Sep 17 00:00:00 2001 From: Vera-Firefly <87926662+Vera-Firefly@users.noreply.github.com> Date: Sat, 2 Sep 2023 17:29:40 +0800 Subject: [PATCH] Update --- .github/workflows/main.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..014648d3 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +name: Android CI + +on: + pull_request: + branches-ignore: + - '' + push: + branches-ignore: + - '' + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: set up JDK 17 + uses: actions/setup-java@v1 + with: + java-version: 17 + + - name: Build Apk + run: | + chmod +x gradlew + ./gradlew assembleDebug + + - name : upload apk + uses: actions/upload-artifact@v3 + with: + name: app-release + path: FCL/build/outputs/apk/debug/*