Skip to content

Commit 4d42b29

Browse files
uemanmarandaneto
andauthored
CI: Update Setup Java Action (#403)
* Update Setup Java Action * Update .github/workflows/flutter.yml * Update .github/workflows/flutter.yml Co-authored-by: Manoel Aranda Neto <[email protected]>
1 parent f840ddf commit 4d42b29

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/flutter.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232
steps:
3333
- uses: actions/checkout@v2
3434

35-
- uses: actions/setup-java@v1
35+
- uses: actions/setup-java@v2
3636
with:
37+
distribution: 'adopt'
3738
java-version: '8'
3839

3940
- uses: subosito/flutter-action@v1
@@ -124,8 +125,9 @@ jobs:
124125
runs-on: ubuntu-latest
125126
steps:
126127
- uses: actions/checkout@v2
127-
- uses: actions/setup-java@v1
128+
- uses: actions/setup-java@v2
128129
with:
130+
distribution: 'adopt'
129131
java-version: '8'
130132
- run: |
131133
curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.40.0/ktlint

0 commit comments

Comments
 (0)