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
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
actions: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_apk:
|
build_apk:
|
||||||
name: Build Flutter APK
|
name: Build Flutter APK
|
||||||
@@ -18,12 +23,12 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Cache pub deps
|
# - name: Cache pub deps
|
||||||
uses: actions/cache@v3
|
# uses: actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: ~/.pub-cache
|
# path: ~/.pub-cache
|
||||||
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }}
|
# key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }}
|
||||||
restore-keys: ${{ runner.os }}-pub-
|
# restore-keys: ${{ runner.os }}-pub-
|
||||||
|
|
||||||
- name: Setup Java (Temurin 17)
|
- name: Setup Java (Temurin 17)
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
@@ -34,7 +39,7 @@ jobs:
|
|||||||
- name: Setup Flutter
|
- name: Setup Flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: stable
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
|
|||||||
Reference in New Issue
Block a user