Browse Source

ci: Use Github Action for uploading to F-Droid

pull/58/head
jld3103 2 years ago
parent
commit
3a24999530
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 13
      .github/workflows/fdroid-nightly.yaml

13
.github/workflows/fdroid-nightly.yaml

@ -49,9 +49,10 @@ jobs:
cp build/app/outputs/apk/release/app-release.apk app-debug.apk cp build/app/outputs/apk/release/app-release.apk app-debug.apk
- name: Upload - name: Upload
run: | uses: wardvl/f-droid-nightly-action@v2.1
sudo add-apt-repository ppa:fdroid/fdroidserver with:
sudo apt-get update debug_keystore: ${{ secrets.DEBUG_KEYSTORE }}
sudo apt-get install apksigner fdroidserver tree --no-install-recommends fdroid_nightly_args: -v --archive-older 10 --file app-debug.apk
export DEBUG_KEYSTORE=${{ secrets.DEBUG_KEYSTORE }}
fdroid nightly -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

Loading…
Cancel
Save