File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Nightly F-Droid CI
2+
3+ on :
4+ push :
5+ branches :
6+ - fdroid-repo
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Fdroid Install
14+ uses : subosito/flutter-action@v1
15+ - name : Run F-Droid Update
16+ env :
17+ FDROID_CONFIG_YML_B64 : ${{ secrets.FDROID_CONFIG_YML }}
18+ FDROID_KEYSTORE_P12_B64 : ${{ secrets.FDROID_KEYSTORE_P12 }}
19+ run : |
20+ # Decode the secrets into files
21+ echo $FDROID_CONFIG_YML_B64 | base64 --decode > config.yml
22+ echo $FDROID_KEYSTORE_P12_B64 | base64 --decode > keystore.p12
23+
24+ # Install fdroidserver
25+ sudo apt-get update
26+ sudo apt-get install -y fdroidserver
27+
28+ # Run the update command, referencing the files
29+ fdroid update -c
30+
31+ - name : Push F-Droid updates
32+ run : |
33+ git add .
34+ git commit --amend -m "update: a repo update ${{ github.run_number }}"
35+ git push origin fdroid-repo --force
You can’t perform that action at this time.
0 commit comments