added permissons and commented out cache
Some checks failed
Flutter APK Build / Build Flutter APK (push) Failing after 19s

This commit is contained in:
2026-01-19 22:29:55 +01:00
parent 970d78943b
commit a4d471dc62

View File

@@ -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