added permissons and commented out cache
Some checks failed
Flutter APK Build / Build Flutter APK (push) Failing after 19s
Some checks failed
Flutter APK Build / Build Flutter APK (push) Failing after 19s
This commit is contained in:
@@ -9,6 +9,11 @@ on:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
build_apk:
|
||||
name: Build Flutter APK
|
||||
@@ -18,12 +23,12 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- 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: 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
|
||||
@@ -34,7 +39,7 @@ jobs:
|
||||
- name: Setup Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: 'stable'
|
||||
channel: stable
|
||||
|
||||
- name: Get dependencies
|
||||
run: flutter pub get
|
||||
|
||||
Reference in New Issue
Block a user