Skip to content

Commit

Permalink
updated flutter.yml to solve java version error in easel
Browse files Browse the repository at this point in the history
  • Loading branch information
Raviramnani1 committed Aug 6, 2024
1 parent af53324 commit 4754326
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: "stable" # or: 'beta', 'dev' or 'master'
Expand All @@ -26,8 +30,6 @@ jobs:
./borg.sh boot
flutter analyze
flutter test
easel:
name: easel
Expand All @@ -39,6 +41,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: "stable" # or: 'beta', 'dev' or 'master'
Expand All @@ -54,7 +60,6 @@ jobs:
flutter build appbundle --debug
flutter test
dart_sdk:
name: SDK
runs-on: ubuntu-latest
Expand All @@ -65,6 +70,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: "stable" # or: 'beta', 'dev' or 'master'
Expand Down

0 comments on commit 4754326

Please sign in to comment.