From 05484b342abc3dfb549a141aaa410a61e2be6a74 Mon Sep 17 00:00:00 2001 From: Flummi Date: Wed, 4 Jun 2025 13:38:39 +0200 Subject: [PATCH] revert -.- --- .gitea/workflows/android.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/android.yml b/.gitea/workflows/android.yml index b146678..a7c7b79 100644 --- a/.gitea/workflows/android.yml +++ b/.gitea/workflows/android.yml @@ -12,7 +12,14 @@ jobs: steps: - name: checkout code uses: actions/checkout@v4 - + + - name: cache pub deps + uses: actions/cache@v4 + with: + path: ~/.pub-cache + key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }} + restore-keys: ${{ runner.os }}-pub- + - name: set up jdk uses: actions/setup-java@v3 with: @@ -35,14 +42,6 @@ jobs: - name: build apk run: flutter build apk --release - - - name: sign app apk - run: | - mkdir -p ~/.android - echo "${{ secrets.SIGNING_KEY }}" | base64 -d > ~/.android/debug.keystore - jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore ~/android/debug.keystore build/app/outputs/flutter-apk/app-release.apk ${{ secrets.ALIAS }} - env: - KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }} - name: release-build uses: akkuman/gitea-release-action@v1