Skip to content

Commit 4efb29e

Browse files
[CICD] Use cached flutter version.
Signed-off-by: Taranjeet Singh <[email protected]>
1 parent aec6e80 commit 4efb29e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/deployment.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,20 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
- uses: actions/checkout@v3.0.0
2121

22-
# - uses: fregante/setup-git-token@v1
23-
# with:
24-
# token: ${{ secrets.TOKEN }}
22+
- uses: fregante/setup-git-user@v1
2523

26-
- uses: actions/setup-java@v1
24+
- uses: actions/setup-java@v3.0.0
2725
with:
28-
java-version: 1.8
29-
- uses: subosito/flutter-action@v2
26+
distribution: 'zulu'
27+
java-version: '11'
28+
cache: 'gradle'
29+
30+
- uses: subosito/[email protected]
3031
with:
3132
channel: 'stable'
33+
cache: true
3234

3335
- name: "Activate remove_from_coverage package"
3436
run: flutter pub global activate remove_from_coverage

0 commit comments

Comments
 (0)