阅后即焚2.3,消息通知 #135
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 |