From 3a2499953045281a97164b61f13d3b41b051b529 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 11 Sep 2022 13:39:52 +0200 Subject: [PATCH] ci: Use Github Action for uploading to F-Droid --- .github/workflows/fdroid-nightly.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/fdroid-nightly.yaml b/.github/workflows/fdroid-nightly.yaml index fd3d9fbc..b97dc55e 100644 --- a/.github/workflows/fdroid-nightly.yaml +++ b/.github/workflows/fdroid-nightly.yaml @@ -49,9 +49,10 @@ jobs: cp build/app/outputs/apk/release/app-release.apk app-debug.apk - name: Upload - run: | - sudo add-apt-repository ppa:fdroid/fdroidserver - sudo apt-get update - sudo apt-get install apksigner fdroidserver tree --no-install-recommends - export DEBUG_KEYSTORE=${{ secrets.DEBUG_KEYSTORE }} - fdroid nightly -v --archive-older 10 --file app-debug.apk + uses: wardvl/f-droid-nightly-action@v2.1 + with: + debug_keystore: ${{ secrets.DEBUG_KEYSTORE }} + fdroid_nightly_args: -v --archive-older 10 --file app-debug.apk + + - name: F-Droid repo permission clean-up # https://github.com/actions/cache/issues/753 + run: sudo chown -R runner:docker fdroid