From 2905ed90aadd21ec41a82977424440648d676314 Mon Sep 17 00:00:00 2001 From: MoonLeeeaf <150461955+MoonLeeeaf@users.noreply.github.com> Date: Fri, 7 Jun 2024 13:40:22 +0800 Subject: [PATCH] chore: CI --- .androidide/editor/openedFiles.json | 20 -------------------- .github/workflows/ci.yml | 9 ++++++++- 2 files changed, 8 insertions(+), 21 deletions(-) delete mode 100644 .androidide/editor/openedFiles.json diff --git a/.androidide/editor/openedFiles.json b/.androidide/editor/openedFiles.json deleted file mode 100644 index 55753cd..0000000 --- a/.androidide/editor/openedFiles.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "allFiles": [ - { - "file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java", - "selection": { - "end": { - "column": 0, - "index": 0, - "line": 0 - }, - "start": { - "column": 0, - "index": 0, - "line": 0 - } - } - } - ], - "selectedFile": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java" -} \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edce472..5e0a298 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,4 +23,11 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew build + run: | + ./gradlew assembleDebug + echo "APK_FILE=app/build/outputs/apk/debug/app-debug.apk" >> $GITHUB_ENV + - name: Upload Artifacts + uses: actions/upload-artifact@v4 + with: + path: ${{ env.APK_FILE }} + name: FuckMaoNemo-${{ github.event.head_commit.id }}.apk