修复了一些可能导致奔溃的问题 #372
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: Build | |
on: | |
push: | |
branches: [ BiLi_PC_Gamer ] | |
pull_request: | |
branches: [ BiLi_PC_Gamer ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Build | |
run: | | |
chmod +x ./gradlew | |
./gradlew clean app:assembleDebug | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Build | |
path: ./app/build/outputs/apk/ |