Skip to content

Commit

Permalink
修改自动打包
Browse files Browse the repository at this point in the history
  • Loading branch information
molihuan committed May 13, 2024
1 parent c2facf4 commit 5fe4ae7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,18 @@ jobs:

- run: flutter pub get


- name: Set up Java for Android build
if: matrix.platform == 'android'
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 17

- name: Build for Android
if: matrix.platform == 'android'
run: flutter build apk --release --target-platform ${{ matrix.target-platform }}


- name: Build for Linux
if: matrix.platform == 'linux'
Expand Down

0 comments on commit 5fe4ae7

Please sign in to comment.