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