added pub cache and changed java version
Some checks failed
Flutter APK Build / Build Flutter APK (push) Failing after 5m58s
Some checks failed
Flutter APK Build / Build Flutter APK (push) Failing after 5m58s
This commit is contained in:
@@ -17,12 +17,19 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Java
|
||||
|
||||
- name: Cache pub deps
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.pub-cache
|
||||
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }}
|
||||
restore-keys: ${{ runner.os }}-pub-
|
||||
|
||||
- name: Setup Java (Temurin 17)
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '11'
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
|
||||
- name: Setup Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
|
||||
Reference in New Issue
Block a user