From cfcfd7281d0f221c7476439cdf798713d941cadd Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sat, 24 Jun 2023 19:13:11 +0200 Subject: [PATCH] ci: Add F-Droid nightlies --- .github/workflows/publish.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e70b30f8..3c80f25b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -87,6 +87,20 @@ jobs: path: packages/app/build/app/outputs/flutter-apk/app-x86_64-release-signed.apk if-no-files-found: error + - name: F-Droid nightly + run: | + cp packages/app/build/app/outputs/flutter-apk/app-arm64-v8a-release.apk app-arm64-v8a-debug.apk + cp packages/app/build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk app-armeabi-v7a-debug.apk + cp packages/app/build/app/outputs/flutter-apk/app-x86_64-release.apk app-x86_64-debug.apk + + sudo add-apt-repository ppa:fdroid/fdroidserver + sudo apt-get update + sudo apt-get install apksigner fdroidserver python3-pip --no-install-recommends + sudo apt-get purge fdroidserver + pip3 install https://gitlab.com/fdroid/fdroidserver/-/archive/master/fdroidserver.tar.gz + export DEBUG_KEYSTORE=${{ secrets.DEBUG_KEYSTORE }} + fdroid nightly -v --archive-older 10 + linux_x86_64: name: Linux x86_64 runs-on: ubuntu-22.04