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