在解码大图时添加缩放限制,以减少内存溢出的可能 #357
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: 11 | |
- 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/ |