保存歌曲的方法另起线程执行 #16
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 And Release Android | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/[email protected] | |
with: | |
flutter-version: '3.17.0-1.0.pre.38' | |
channel: 'master' | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: '11' | |
distribution: 'zulu' | |
- run: flutter pub get | |
- run: flutter build apk --release | |
- name: Release | |
uses: ncipollo/[email protected] | |
with: | |
artifacts: "build/app/outputs/flutter-apk/app-release.apk" | |
tag: '1.1.0' | |
token: ${{ secrets.YOUR_GITHUB_TOKEN }} | |