Skip to content

Commit

Permalink
指定java版本
Browse files Browse the repository at this point in the history
安卓打包需要,
  • Loading branch information
AoEiuV020 authored Sep 5, 2024
1 parent 47864f4 commit df79fcd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: build env
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: init custom env
run: |
set -a
Expand Down Expand Up @@ -182,7 +182,11 @@ jobs:
run: |
type .custom_env >> $env:GITHUB_ENV
del .custom_env
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
Expand Down

0 comments on commit df79fcd

Please sign in to comment.