🎉Release 1.3,删除冗余代码修复GithubCI问题、背景运行代码调整 #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
push: | |
branches: [ "master" ] | |
paths-ignore: | |
- "**/.idea/**" | |
- "**/build/**" | |
- "**/DevSummary/**" | |
- '**/*.md' | |
- '**/*.png' | |
- '**/*.jpg' | |
- '**/*.gif' | |
pull_request: | |
branches: [ "master" ] | |
paths-ignore: | |
- "**/.idea/**" | |
- "**/build/**" | |
- "**/DevSummary/**" | |
- '**/*.md' | |
- '**/*.png' | |
- '**/*.jpg' | |
- '**/*.gif' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: JDK17 Eclipsejdk | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Gradlew Permission | |
run: chmod +x gradlew | |
- name: Build | |
run: ./gradlew build | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: app-debug | |
path: app/build/outputs/apk/debug/app-debug.apk |