Skip to content

更新 action.on

更新 action.on #21

Workflow file for this run

name: Android CI
on:
push:
paths:
- 'action.on' # 只有 特定 文件的更改才构建
# branches: [ "master" ]
# pull_request:
# branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK
uses: actions/setup-java@v4
with:
java-version: '23'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
# run: ./gradlew build
run: ./gradlew assembleDebug
- uses: actions/upload-artifact@v4
with:
name: apk
path: '**/*.apk'